emby. Adding more configuration for port bindings. Default bind IP is 0.0.0.0 to allow direct connections.

This commit is contained in:
Alexey Skobkin 2022-03-18 03:28:59 +03:00
parent 87893d4bb9
commit 181fbdf01d
2 changed files with 5 additions and 3 deletions

View file

@ -11,9 +11,11 @@ HOST_MULTIMEDIA_DIR=/mnt/multimedia
# Leave as it is unless you really need something else
INT_MULTIMEDIA_DIR=/libraries
WEBUI_BIND_ADDR=127.0.0.1
WEBUI_BIND_ADDR=0.0.0.0
WEBUI_BIND_PORT=8096
WEBUI_INT_BIND_PORT=8096
#WEBUI_HTTPS_BIND_PORT=8920
#WEBUI_INT_HTTPS_BIND_PORT=8920
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

View file

@ -9,9 +9,9 @@ services:
- "${HOST_CONFIG_DIR:-./config}:/config"
- "${HOST_MULTIMEDIA_DIR}:${INT_MULTIMEDIA_DIR:-/libraries}"
ports:
- "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8096}:8096/tcp"
- "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8096}:${WEBUI_INT_BIND_PORT:-8096}/tcp"
# Use reverse-proxy instead
#- "${WEBUI_BIND_ADDR-127.0.0.1}:${WEBUI_HTTPS_BIND_PORT:-8920}:8920/tcp"
#- "${WEBUI_BIND_ADDR-127.0.0.1}:${WEBUI_HTTPS_BIND_PORT:-8920}:${WEBUI_INT_HTTPS_BIND_PORT:-8920}/tcp"
env_file: .env
environment:
UID: "${HOST_USER:-1000}"