docker-stacks/emby/docker-compose.yml

25 lines
790 B
YAML
Raw Normal View History

2022-03-17 23:52:27 +00:00
# https://hub.docker.com/r/emby/embyserver
version: '3.7'
services:
emby:
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:
- "${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
#- "${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}"