transmission. Renaming path mapping variables for consistency.

This commit is contained in:
Alexey Skobkin 2024-09-21 02:44:23 +03:00
parent 39714324d9
commit 412a02ef02
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 4 additions and 4 deletions

View file

@ -15,12 +15,12 @@ WEB_PORT=9091
#NETWORK_MODE=host #NETWORK_MODE=host
DIR_CONFIG=./config DIR_CONFIG_EXT=./config
DIR_DOWNLOAD_EXT=./downloads DIR_DOWNLOAD_EXT=./downloads
DIR_DOWNLOAD_INT=/downloads DIR_DOWNLOAD_INT=/downloads
#DIR_TMP_DOWNLOAD_EXT=/path/to/unfinished/downloads #DIR_TMP_DOWNLOAD_EXT=/path/to/unfinished/downloads
#IR_TMP_DOWNLOAD_INT=/downloads_tmp #IR_TMP_DOWNLOAD_INT=/downloads_tmp
DIR_WATCH=./watch DIR_WATCH_EXT=./watch
TIMEZONE=Europe/Moscow TIMEZONE=Europe/Moscow

View file

@ -14,12 +14,12 @@ services:
#- HOST_WHITELIST= #optional #- HOST_WHITELIST= #optional
env_file: '.env' env_file: '.env'
volumes: volumes:
- '${DIR_CONFIG:-./config}:/config' - '${DIR_CONFIG_EXT:-./config}:/config'
- '${DIR_DOWNLOAD_EXT:-./downloads}:${DIR_DOWNLOAD_INT:-/downloads}' - '${DIR_DOWNLOAD_EXT:-./downloads}:${DIR_DOWNLOAD_INT:-/downloads}'
# Separate download cache directory in case you store unfinished torrents on SSD # Separate download cache directory in case you store unfinished torrents on SSD
# Use with `"incomplete-dir-enabled": true` in the settings.json. This is `incomplete-dir` parameter. # Use with `"incomplete-dir-enabled": true` in the settings.json. This is `incomplete-dir` parameter.
- '${DIR_TMP_DOWNLOAD:-/dev/null}:${DIR_TMP_DOWNLOAD:-/dev/null}' - '${DIR_TMP_DOWNLOAD:-/dev/null}:${DIR_TMP_DOWNLOAD:-/dev/null}'
- '${DIR_WATCH:-./watch}:/watch' - '${DIR_WATCH_EXT:-./watch}:/watch'
network_mode: '${NETWORK_MODE:-bridge}' network_mode: '${NETWORK_MODE:-bridge}'
ports: ports:
- '${WEB_ADDRESS:-0.0.0.0}:${WEB_PORT:-9091}:${WEB_PORT:-9091}' - '${WEB_ADDRESS:-0.0.0.0}:${WEB_PORT:-9091}:${WEB_PORT:-9091}'