revert fix: Update jellyfin Docker configuration for GPU passthrough
This commit is contained in:
Ben Martin 2024-07-31 00:36:57 +01:00
parent 7524d34643
commit 42968a0d45

View file

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