feat: Parametrize the data and torrent paths

This commit is contained in:
Adrien Poupa 2022-04-16 17:53:29 -04:00
parent 2fe664b02b
commit a4088f706d
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
USER_ID=1000
GROUP_ID=1000
TIMEZONE="America/New_York"
DATA_ROOT="/mnt/data"
DOWNLOAD_ROOT="/mnt/data/torrents"
PIA_LOCATION=ca
PIA_USER=
PIA_PASS=

View File

@ -8,7 +8,7 @@ services:
- PGID=${GROUP_ID}
volumes:
- ./sonarr:/config
- /mnt/data:/data
- ${DATA_ROOT}:/data
ports:
- "8989:8989"
restart: unless-stopped
@ -20,7 +20,7 @@ services:
- PGID=${GROUP_ID}
volumes:
- ./radarr:/config
- /mnt/data:/data
- ${DATA_ROOT}:/data
ports:
- "7878:7878"
restart: unless-stopped
@ -45,7 +45,7 @@ services:
- WEBUI_PORT=8080
volumes:
- ./qbittorrent:/config
- /mnt/data/torrents:/data/torrents
- ${DOWNLOAD_ROOT}:/data/torrents
restart: unless-stopped
network_mode: "service:vpn"
depends_on: