diff --git a/deluge/.env b/deluge/.env new file mode 100644 index 0000000..a57643d --- /dev/null +++ b/deluge/.env @@ -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:-./} diff --git a/deluge/.gitignore b/deluge/.gitignore new file mode 100644 index 0000000..ad5fdbf --- /dev/null +++ b/deluge/.gitignore @@ -0,0 +1 @@ +deluge diff --git a/deluge/docker-compose.yml b/deluge/docker-compose.yml index ff5b83b..746231e 100644 --- a/deluge/docker-compose.yml +++ b/deluge/docker-compose.yml @@ -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