Add Jellyfin with NVIDIA GPU support for workstation
This commit is contained in:
@@ -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]]
|
||||
name = "komodo-stack"
|
||||
description = "Deploy komodo app using docker-compose"
|
||||
|
||||
24
stacks/jellyfin-workstation.compose.yml
Normal file
24
stacks/jellyfin-workstation.compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user