diff --git a/.env.sample b/.env.sample new file mode 100644 index 0000000..bbb3a07 --- /dev/null +++ b/.env.sample @@ -0,0 +1 @@ +FILE_PATH= diff --git a/docker-compose.yml b/docker-compose.yml index 1f630a1..e4ff033 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..7fb29d6 --- /dev/null +++ b/start.sh @@ -0,0 +1 @@ +docker-compose --env-file .env up -d