feat: abstract persistent paths, add completed downloads loc (#12)

This commit is contained in:
Marc 2022-12-03 14:36:00 -05:00 committed by GitHub
parent 41cafc59b3
commit 9e996c41e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

7
deluge/.env Normal file
View file

@ -0,0 +1,7 @@
# Download target
DOWNLOADS_ROOT=${APP_STORAGE_ROOT:-.}/deluge/downloads
# Configuration data
CONFIG_ROOT=${APP_STORAGE_ROOT:-.}/deluge/config
COMPLETED_DOWNLOADS_ROOT=${DATA_STORAGE_ROOT:-./}

1
deluge/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
deluge

View file

@ -1,4 +1,4 @@
version: "2.1"
version: "3.7"
services:
deluge:
image: lscr.io/linuxserver/deluge:latest
@ -6,8 +6,9 @@ services:
environment:
- TZ=America/Toronto
volumes:
- ./config:/config
- ./downloads:/downloads
- ${DOWNLOADS_ROOT}:/config
- ${CONFIG_ROOT}:/downloads
- ${COMPLETED_DOWNLOADS_ROOT}:/complete
ports:
- 8112:8112
- 6881:6881