Add Jellyfin with NVIDIA GPU support for workstation

This commit is contained in:
2025-12-14 21:15:05 -08:00
parent 5fea90c678
commit 53d6b23a5d
2 changed files with 38 additions and 0 deletions

View File

@@ -207,6 +207,20 @@ file_paths = ["stacks/jellyfin.compose.yml"]
## ##
[[stack]]
name = "jellyfin-workstation"
description = "Jellyfin media server with NVIDIA GPU hardware acceleration"
tags = ["media", "workstation", "gpu"]
[stack.config]
server = "workstation"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["stacks/jellyfin-workstation.compose.yml"]
##
[[stack]] [[stack]]
name = "komodo-stack" name = "komodo-stack"
description = "Deploy komodo app using docker-compose" description = "Deploy komodo app using docker-compose"

View File

@@ -0,0 +1,24 @@
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
user: 1000:1000
group_add:
- '105' # render group for GPU access
network_mode: 'host'
volumes:
- /home/stray/docker/jellyfin/config:/config
- /home/stray/docker/jellyfin/cache:/cache
- /mnt/syn02/data:/media:ro
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu, video, compute, utility]
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
restart: unless-stopped