emby. Adding ability to pass video acceleration device to the container.
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alexey Skobkin 2023-08-15 23:56:43 +03:00
parent fba267ae29
commit 7d94bcef3a
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
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
@ -18,4 +21,4 @@ WEBUI_INT_BIND_PORT=8096
#WEBUI_INT_HTTPS_BIND_PORT=8920 #WEBUI_INT_HTTPS_BIND_PORT=8920
LOG_MAX_SIZE=5m LOG_MAX_SIZE=5m
LOG_MAX_FILE=5 LOG_MAX_FILE=5

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