2022-03-18 00:31:59 +00:00
|
|
|
# https://hub.docker.com/r/emby/embyserver
|
2023-08-15 20:58:27 +00:00
|
|
|
version: '3.8'
|
2022-03-18 00:31:59 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
emby:
|
|
|
|
image: "${DOCKER_IMAGE:-emby/embyserver}"
|
|
|
|
container_name: emby
|
|
|
|
volumes:
|
|
|
|
- "${HOST_CONFIG_DIR:-./config}:/config"
|
|
|
|
- "${HOST_MULTIMEDIA_DIR}:${INT_MULTIMEDIA_DIR:-/libraries}"
|
2023-08-15 20:58:27 +00:00
|
|
|
devices:
|
|
|
|
- "${VIDEO_ACCEL_DEVICE:-/dev/null}:${VIDEO_ACCEL_DEVICE:-/dev/null}"
|
2022-03-18 00:31:59 +00:00
|
|
|
ports:
|
|
|
|
- "${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}:${WEBUI_INT_HTTPS_BIND_PORT:-8920}/tcp"
|
|
|
|
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}"
|