diff --git a/transmission/.env.dist b/transmission/.env.dist index 6c6b0d2..c02f735 100644 --- a/transmission/.env.dist +++ b/transmission/.env.dist @@ -10,12 +10,16 @@ GROUP_ID=1000 #UMASK=022 P2P_PORT=6882 +#WEB_ADDRESS=127.0.0.1 WEB_PORT=9091 #NETWORK_MODE=host DIR_CONFIG=./config -DIR_DOWNLOAD=./download +DIR_DOWNLOAD_EXT=./downloads +DIR_DOWNLOAD_INT=/downloads +#DIR_TMP_DOWNLOAD_EXT=/path/to/unfinished/downloads +#IR_TMP_DOWNLOAD_INT=/downloads_tmp DIR_WATCH=./watch TIMEZONE=Europe/Moscow diff --git a/transmission/docker-compose.yml b/transmission/docker-compose.yml index 9f5a158..2e62e08 100644 --- a/transmission/docker-compose.yml +++ b/transmission/docker-compose.yml @@ -15,14 +15,14 @@ services: env_file: '.env' volumes: - '${DIR_CONFIG:-./config}:/config' - - '${DIR_DOWNLOAD:-./download}:/downloads' + - '${DIR_DOWNLOAD_EXT:-./downloads}:${DIR_DOWNLOAD_INT:-/downloads}' # 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. - '${DIR_TMP_DOWNLOAD:-/dev/null}:${DIR_TMP_DOWNLOAD:-/dev/null}' - '${DIR_WATCH:-./watch}:/watch' network_mode: '${NETWORK_MODE:-bridge}' ports: - - '${WEB_PORT:-9091}:${WEB_PORT:-9091}' + - '${WEB_ADDRESS:-0.0.0.0}:${WEB_PORT:-9091}:${WEB_PORT:-9091}' - '${P2P_PORT:-51413}:${P2P_PORT:-51413}' - '${P2P_PORT:-51413}:${P2P_PORT:-51413}/udp' restart: unless-stopped diff --git a/transmission/download/.gitignore b/transmission/downloads/.gitignore similarity index 100% rename from transmission/download/.gitignore rename to transmission/downloads/.gitignore