version: '2' services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin ports: - '8096:8096' environment: - PUID=1026 - PGID=100 - TZ=Europe/Zurich volumes: - '/volume1/docker/jellyfin/config:/config' - '/volume1/docker/jellyfin/cache:/cache' - '/volume1/video:/video' devices: - /dev/dri/renderD128:/dev/dri/renderD128 restart: unless-stopped network_mode: host