chore(media-centre): add device mapping for GPU rendering via vaapi
This commit is contained in:
parent
67718a4e55
commit
35516b2222
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,12 @@ job "media-centre" {
|
||||||
image = "plexinc/pms-docker:latest"
|
image = "plexinc/pms-docker:latest"
|
||||||
runtime = "nvidia"
|
runtime = "nvidia"
|
||||||
|
|
||||||
|
devices = [
|
||||||
|
{
|
||||||
|
host_path = "/dev/dri"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
mount {
|
mount {
|
||||||
type = "volume"
|
type = "volume"
|
||||||
target = "/data"
|
target = "/data"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue