docker-compose-collection/emby/docker-compose.yml

16 lines
555 B
YAML
Raw Permalink Normal View History

2023-02-05 22:44:18 +08:00
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