commit 5e4572f2df21822f867daca6340bd7cf43793e15 Author: Croft Date: Sun May 25 17:15:26 2025 +0200 init diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..5407044 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,48 @@ +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" \ No newline at end of file