Files
docker-compose-files/jellyfin.yaml
2025-09-27 15:23:50 +02:00

22 lines
610 B
YAML

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=<vaapi-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/<video-card>:/dev/dri/<video-card>