feat: abstract persistent paths, add completed downloads loc (#12)
This commit is contained in:
parent
41cafc59b3
commit
9e996c41e1
3 changed files with 12 additions and 3 deletions
7
deluge/.env
Normal file
7
deluge/.env
Normal 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
1
deluge/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
deluge
|
|
@ -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
|
||||
|
|
Reference in a new issue