forked from I-am-PUID-0/pd_zurg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (81 loc) · 2.81 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: "3.8"
services:
pd_zurg:
container_name: pd_zurg
image: iampuid0/pd_zurg:latest
## Optionally, specify a specific version of pd_zurg
# image: iampuid0/pd_zurg:2.0.0
stdin_open: true # docker run -i
tty: true # docker run -t
volumes:
## Location of configuration files. If a Zurg config.yml and/or Zurg app is placed here, it will be used to override the default configuration and/or app used at startup.
- /pd_zurg/config:/config
## Location for logs
- /pd_zurg/log:/log
## Location for rclone cache if enabled
- /pd_zurg/cache:/cache
## Location for Zurg RealDebrid active configuration
- /pd_zurg/RD:/zurg/RD
## Location for Zurg AllDebrid active configuration -- when supported by Zurg
- /pd_zurg/AD:/zurg/AD
## Location for rclone mount to host
- /pd_zurg/mnt:/data:shared
environment:
- TZ=
## Zurg Required Settings
- ZURG_ENABLED=true
- RD_API_KEY=
## Zurg Optional Settings
# - ZURG_LOG_LEVEL=DEBUG
# - ZURG_VERSION=v0.9.2-hotfix.4
# - ZURG_UPDATE=true
# - PLEX_REFRESH=true
# - PLEX_MOUNT_DIR=/pd_zurg
# - ZURG_USER=
# - ZURG_PASS=
# - ZURG_PORT=8800
## Rclone Required Settings
- RCLONE_MOUNT_NAME=pd_zurg
## Rclone Optional Settings - See rclone docs for full list
# - NFS_ENABLED=true
# - NFS_PORT=8000
# - RCLONE_LOG_LEVEL=DEBUG
# - RCLONE_CACHE_DIR=/cache
# - RCLONE_DIR_CACHE_TIME=10s
# - RCLONE_VFS_CACHE_MODE=full
# - RCLONE_VFS_CACHE_MAX_SIZE=100G
# - RCLONE_ATTR_TIMEOUT=8700h
# - RCLONE_BUFFER_SIZE=32M
# - RCLONE_VFS_CACHE_MAX_AGE=4h
# - RCLONE_VFS_READ_CHUNK_SIZE=32M
# - RCLONE_VFS_READ_CHUNK_SIZE_LIMIT=1G
# - RCLONE_TRANSFERS=8
## Plex Debrid Required Settings
- PD_ENABLED=true
## To utilize plex_debrid with Plex, the following environment variables are required
- PLEX_USER=
- PLEX_TOKEN=
- PLEX_ADDRESS=
## To utilize plex_debrid with Jellyfin, the following environment variables are required - Note that plex_debrid will require addtional setup befor use with Jellyfin
# - JF_ADDRESS
# - JF_API_KEY
## Plex Debrid Optional Settings
# - PD_UPDATE=true
# - SHOW_MENU=false
# - SEERR_API_KEY=
# - SEERR_ADDRESS=
## Special Features
# - AUTO_UPDATE_INTERVAL=12
# - DUPLICATE_CLEANUP=true
# - CLEANUP_INTERVAL=1
# - PDZURG_LOG_LEVEL=DEBUG
# - PDZURG_LOG_COUNT=2
# Example to attach to gluetun vpn container if realdebrid blocks IP address
# network_mode: container:gluetun
devices:
- /dev/fuse:/dev/fuse:rwm
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
- no-new-privileges