2022-03-17 23:52:27 +00:00
|
|
|
# https://hub.docker.com/r/emby/embyserver
|
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
emby:
|
2022-03-17 23:57:20 +00:00
|
|
|
image: "${DOCKER_IMAGE:-emby/embyserver}"
|
2022-03-17 23:52:27 +00:00
|
|
|
container_name: emby
|
|
|
|
volumes:
|
|
|
|
- "${HOST_CONFIG_DIR:-./config}:/config"
|
|
|
|
- "${HOST_MULTIMEDIA_DIR}:${INT_MULTIMEDIA_DIR:-/libraries}"
|
|
|
|
ports:
|
2022-03-18 00:28:59 +00:00
|
|
|
- "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8096}:${WEBUI_INT_BIND_PORT:-8096}/tcp"
|
2022-03-17 23:52:27 +00:00
|
|
|
# Use reverse-proxy instead
|
2022-03-18 00:28:59 +00:00
|
|
|
#- "${WEBUI_BIND_ADDR-127.0.0.1}:${WEBUI_HTTPS_BIND_PORT:-8920}:${WEBUI_INT_HTTPS_BIND_PORT:-8920}/tcp"
|
2022-03-17 23:52:27 +00:00
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
UID: "${HOST_USER:-1000}"
|
|
|
|
GID: "${HOST_GROUP:-1000}"
|
|
|
|
restart: unless-stopped
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
|
|
max-file: "${LOG_MAX_FILE:-5}"
|