Add environment configuration file

This commit is contained in:
Tanguy Herbron 2021-05-25 10:56:53 +02:00
parent 3fd86754c7
commit 08ff527a05
3 changed files with 14 additions and 12 deletions

1
.env.sample Normal file
View File

@ -0,0 +1 @@
FILE_PATH=

View File

@ -36,10 +36,10 @@ services:
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
- /media/alpha/torrent-stack/radarr/config:/config
- /media/alpha/jellyfin/movies:/movies
- /media/alpha/torrent-stack/downloads:/downloads
- /media/alpha/torrent-stack/radarr/sma:/usr/local/sma/config
- ./radarr/config:/config
- ${FILE_PATH}/jellyfin/movies:/movies
- ${FILE_PATH}/torrent-stack/downloads:/downloads
- ${FILE_PATH}/torrent-stack/radarr/sma:/usr/local/sma/config
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
@ -54,10 +54,10 @@ services:
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
- /media/alpha/torrent-stack/sonarr/config:/config
- /media/alpha/jellyfin/tvshows:/tv
- /media/alpha/torrent-stack/downloads:/downloads
- /media/alpha/torrent-stack/sonarr/sma:/usr/local/sma/config
- ./sonarr/config:/config
- ${FILE_PATH}/jellyfin/tvshows:/tv
- ${FILE_PATH}/torrent-stack/downloads:/downloads
- ${FILE_PATH}/torrent-stack/sonarr/sma:/usr/local/sma/config
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
@ -73,8 +73,8 @@ services:
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
- /media/alpha/torrent-stack/jackett/config:/config
- /media/alpha/torrent-stack/downloads:/downloads
- ./jackett/config:/config
- ${FILE_PATH}/torrent-stack/downloads:/downloads
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
@ -89,8 +89,8 @@ services:
- TZ=Europe/Copenhagen
- DELUGE_LOGLEVEL=error
volumes:
- /media/alpha/torrent-stack/deluge/config:/config
- /media/alpha/torrent-stack/downloads:/downloads
- ./deluge/config:/config
- ${FILE_PATH}/torrent-stack/downloads:/downloads
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:

1
start.sh Executable file
View File

@ -0,0 +1 @@
docker-compose --env-file .env up -d