emby: GPU acceleration device pass #67

Merged
skobkin merged 1 commit from feature_emby_video_acceleration into master 2023-08-15 20:58:28 +00:00
2 changed files with 7 additions and 2 deletions

View file

@ -11,6 +11,9 @@ HOST_MULTIMEDIA_DIR=/mnt/multimedia
# Leave as it is unless you really need something else # Leave as it is unless you really need something else
INT_MULTIMEDIA_DIR=/libraries 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_ADDR=0.0.0.0
WEBUI_BIND_PORT=8096 WEBUI_BIND_PORT=8096
WEBUI_INT_BIND_PORT=8096 WEBUI_INT_BIND_PORT=8096

View file

@ -1,5 +1,5 @@
# https://hub.docker.com/r/emby/embyserver # https://hub.docker.com/r/emby/embyserver
version: '3.7' version: '3.8'
services: services:
emby: emby:
@ -8,6 +8,8 @@ services:
volumes: volumes:
- "${HOST_CONFIG_DIR:-./config}:/config" - "${HOST_CONFIG_DIR:-./config}:/config"
- "${HOST_MULTIMEDIA_DIR}:${INT_MULTIMEDIA_DIR:-/libraries}" - "${HOST_MULTIMEDIA_DIR}:${INT_MULTIMEDIA_DIR:-/libraries}"
devices:
- "${VIDEO_ACCEL_DEVICE:-/dev/null}:${VIDEO_ACCEL_DEVICE:-/dev/null}"
ports: ports:
- "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8096}:${WEBUI_INT_BIND_PORT:-8096}/tcp" - "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8096}:${WEBUI_INT_BIND_PORT:-8096}/tcp"
# Use reverse-proxy instead # Use reverse-proxy instead