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: '3'
version: "2.1"
services: services:
jellyfin: jellyfin:
image: lscr.io/linuxserver/jellyfin:latest image: jellyfin/jellyfin
container_name: jellyfin container_name: jellyfin
group_add: 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: environment:
- PUID=1000 - LIBVA_DRIVER_NAME=<vaapi-driver name>
- PGID=1000
- TZ=Europe/Budapest
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
volumes: volumes:
- /docker/jellyfin:/config - /docker/jellyfin:/config
- /path/to/films:/data/films - /path/to/cache:/config/cache
- /path/to/series:/data/series - /path/to/transcodes:/config/data/transcodes
ports: - /path/to/datas:/data/:ro
- 8096:8096 extra_hosts:
#- 8092:8920 #optional - 'host.docker.internal:host-gateway'
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
network_mode: host
devices: devices:
- /dev/dri/renderD128:/dev/dri/renderD128 - /dev/dri/<video-card>:/dev/dri/<video-card>

28
jellyfin_old.yaml Normal file
View File

@@ -0,0 +1,28 @@
---
version: "2.1"
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
group_add:
- "109" #getent group render | cut -d: -f3
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Budapest
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
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
devices:
- /dev/dri/renderD128:/dev/dri/renderD128