version: '3' services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin group_add: - "109" # Change this to match your "render" host group id and remove this comment network_mode: host restart: unless-stopped environment: - LIBVA_DRIVER_NAME= volumes: - /docker/jellyfin:/config - /path/to/cache:/config/cache - /path/to/transcodes:/config/data/transcodes - /path/to/datas:/data/:ro extra_hosts: - 'host.docker.internal:host-gateway' devices: - /dev/dri/:/dev/dri/