Transmission #122

Merged
skobkin merged 6 commits from feature_transmission into master 2024-09-21 02:17:22 +00:00
3 changed files with 7 additions and 3 deletions
Showing only changes of commit 39714324d9 - Show all commits

View file

@ -10,12 +10,16 @@ GROUP_ID=1000
#UMASK=022 #UMASK=022
P2P_PORT=6882 P2P_PORT=6882
#WEB_ADDRESS=127.0.0.1
WEB_PORT=9091 WEB_PORT=9091
#NETWORK_MODE=host #NETWORK_MODE=host
DIR_CONFIG=./config 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 DIR_WATCH=./watch
TIMEZONE=Europe/Moscow TIMEZONE=Europe/Moscow

View file

@ -15,14 +15,14 @@ services:
env_file: '.env' env_file: '.env'
volumes: volumes:
- '${DIR_CONFIG:-./config}:/config' - '${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 # 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:-./watch}:/watch'
network_mode: '${NETWORK_MODE:-bridge}' network_mode: '${NETWORK_MODE:-bridge}'
ports: 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}'
- '${P2P_PORT:-51413}:${P2P_PORT:-51413}/udp' - '${P2P_PORT:-51413}:${P2P_PORT:-51413}/udp'
restart: unless-stopped restart: unless-stopped