jdownloader. Added MYJD_* to .env.dist. Allowed port to be shared externally.

This commit is contained in:
Alexey Skobkin 2022-03-07 02:18:55 +03:00
parent 0401c87444
commit 673a9cb10c
2 changed files with 6 additions and 3 deletions

View File

@ -6,8 +6,11 @@ CONFIG_PATH=./config/config
LOGS_PATH=./config/logs
DOWNLOADS_PATH=./data
WEBUI_BIND_ADDR=127.0.0.1
WEBUI_BIND_PORT=3129
MYJD_BIND_PORT=3129
MYJD_USER=xxx@yyy.tld
MYJD_PASSWORD=qwerty
MYJD_DEVICE_NAME=mydevice
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

View File

@ -19,7 +19,7 @@ services:
#MYJD_DEVICE_NAME: "${MYJD_DEVICE_NAME}" #optional
#XDG_DOWNLOAD_DIR: /opt/JDownloader/Downloads #optional
ports:
- "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT:-3129}:3129"
- "${MYJD_BIND_PORT:-3129}:3129"
logging:
driver: "json-file"
options: