Files
jellyfin/compose.yaml
2025-05-25 17:15:26 +02:00

48 lines
1.2 KiB
YAML

services:
jellyfin:
image: linuxserver/jellyfin:latest
container_name: jellyfin
#user: 1000:1000
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /mnt/jellyfin:/config
- /mnt/transcode:/transcode
- /mnt/download:/data
# - nfs-jellyfin-config:/config
# - nfs-torrent-download:/data
# - nfs-jellyfin-transcode:/transcode
# devices:
# - /dev/videoN:/dev/videoN # Mount GPU device
ports:
- 8096:8096
- 7359:7359/udp
- 8920:8920
restart: unless-stopped
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
#volumes:
# nfs-jellyfin-config:
# driver_opts:
# type: "nfs"
# o: "addr=10.110.10.20,nolock,soft,nfsvers=3"
# device: ":/mnt/fast/configs/jellyfin"
# nfs-torrent-download:
# driver_opts:
# type: "nfs"
# o: "addr=10.110.10.20,nolock,soft,nfsvers=3"
# device: ":/mnt/slow/download"
# nfs-jellyfin-transcode:
# driver_opts:
# type: "nfs"
# o: "addr=10.110.10.20,nolock,soft,nfsvers=3"
# device: ":/mnt/fast/transcode"