diff --git a/emby/.env.dist b/emby/.env.dist index 3cdb2db..61cd7d0 100644 --- a/emby/.env.dist +++ b/emby/.env.dist @@ -11,6 +11,9 @@ HOST_MULTIMEDIA_DIR=/mnt/multimedia # Leave as it is unless you really need something else INT_MULTIMEDIA_DIR=/libraries +# Uncomment this for AMD GPU video acceleration +#VIDEO_ACCEL_DEVICE=/dev/dri/renderD128 + WEBUI_BIND_ADDR=0.0.0.0 WEBUI_BIND_PORT=8096 WEBUI_INT_BIND_PORT=8096 @@ -18,4 +21,4 @@ WEBUI_INT_BIND_PORT=8096 #WEBUI_INT_HTTPS_BIND_PORT=8920 LOG_MAX_SIZE=5m -LOG_MAX_FILE=5 \ No newline at end of file +LOG_MAX_FILE=5 diff --git a/emby/docker-compose.yml b/emby/docker-compose.yml index 14d56d4..344f58a 100644 --- a/emby/docker-compose.yml +++ b/emby/docker-compose.yml @@ -1,5 +1,5 @@ # https://hub.docker.com/r/emby/embyserver -version: '3.7' +version: '3.8' services: emby: @@ -8,6 +8,8 @@ services: volumes: - "${HOST_CONFIG_DIR:-./config}:/config" - "${HOST_MULTIMEDIA_DIR}:${INT_MULTIMEDIA_DIR:-/libraries}" + devices: + - "${VIDEO_ACCEL_DEVICE:-/dev/null}:${VIDEO_ACCEL_DEVICE:-/dev/null}" ports: - "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8096}:${WEBUI_INT_BIND_PORT:-8096}/tcp" # Use reverse-proxy instead