thedocks/emby/docker-compose.yml

25 lines
1.0 KiB
YAML
Raw Normal View History

2022-03-31 22:50:59 +01:00
version: "2.3"
services:
emby:
image: emby/embyserver
container_name: embyserver
2022-03-31 23:00:28 +01:00
#runtime: nvidia # Expose NVIDIA GPUs
2022-03-31 22:58:50 +01:00
# network_mode: host # Enable DLNA and Wake-on-Lan
# https://forums.docker.com/t/docker-errors-invalidargument-host-network-mode-is-incompatible-with-port-bindings/103492/14
2022-03-31 22:50:59 +01:00
environment:
- UID=1000 # The UID to run emby as (default: 2)
- GID=100 # The GID to run emby as (default 2)
- GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
volumes:
- ./config:/config
- ./cache:/cache
- /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/music:/music
- /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/PicasaStarter/pictures/Pictures:/photos
ports:
- 8097:8096 # HTTP port
- 8920:8920 # HTTPS port
devices:
- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
2022-03-31 23:01:17 +01:00
#- /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
2022-03-31 22:50:59 +01:00
restart: unless-stopped