fix: Update jellyfin Docker configuration for GPU passthrough

This commit is contained in:
Ben Martin 2024-07-29 19:39:31 +00:00
parent 90dc051151
commit 7524d34643
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -10,7 +10,6 @@
"Driver": "docker",
"Config": {
"image": "lscr.io/linuxserver/jellyfin:latest",
"runtime": "nvidia",
"ports": [
"jellyfin"
],
@ -36,6 +35,12 @@
"target": "/config",
"source": "jellyfin-config"
}
],
"devices": [
{
"host_path": "/dev/dri",
"container_path": "/dev/dri"
}
]
},
"Env": {
@ -46,13 +51,7 @@
},
"Resources": {
"CPU": 1200,
"MemoryMB": 4096,
"Devices": [
{
"Name": "nvidia/gpu",
"Count": 1
}
]
"MemoryMB": 4096
}
}
],