16 lines
555 B
YAML
16 lines
555 B
YAML
version: "2.3"
|
|
services:
|
|
emby:
|
|
image: emby/embyserver
|
|
container_name: embyserver
|
|
network_mode: host # Enable DLNA and Wake-on-Lan
|
|
environment:
|
|
- UID=0 # The UID to run emby
|
|
- GID=0 # The GID to run emby
|
|
- GIDLIST=0 # A comma-separated list of additional GIDs to run emby as (default: 2)
|
|
volumes:
|
|
- ./config:/config # Configuration directory
|
|
- /mnt/xxx:/mnt/share1 # Media directory
|
|
devices:
|
|
- /dev/dri/renderD128:/dev/dri/renderD128 # VAAPI/NVDEC/NVENC render nodes
|
|
restart: unless-stopped |