Update jellyfin files

This commit is contained in:
2025-09-27 15:23:50 +02:00
parent 25d89ffba3
commit 8e12cfc294
2 changed files with 41 additions and 19 deletions

View File

@@ -1,28 +1,22 @@
---
version: "2.1"
version: '3'
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
image: jellyfin/jellyfin
container_name: jellyfin
group_add:
- "109" #getent group render | cut -d: -f3
- "109" # Change this to match your "render" host group id and remove this comment
network_mode: host
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Budapest
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
- LIBVA_DRIVER_NAME=<vaapi-driver name>
volumes:
- /docker/jellyfin:/config
- /path/to/films:/data/films
- /path/to/series:/data/series
ports:
- 8096:8096
#- 8092:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
network_mode: host
- /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/renderD128:/dev/dri/renderD128
- /dev/dri/<video-card>:/dev/dri/<video-card>