emby: GPU acceleration device pass (#67)
Passing GPU acceleration device to the container. Reviewed-on: #67
This commit is contained in:
parent
fba267ae29
commit
4b2fc426c9
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue