22 lines
610 B
YAML
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>
|
|
|