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 USER_ID=1000
GROUP_ID=1000 GROUP_ID=1000
TIMEZONE="America/New_York" TIMEZONE="America/New_York"
DATA_ROOT="/mnt/data"
DOWNLOAD_ROOT="/mnt/data/torrents"
PIA_LOCATION=ca PIA_LOCATION=ca
PIA_USER= PIA_USER=
PIA_PASS= PIA_PASS=

View File

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