add device to jellyfib
This commit is contained in:
parent
2396544099
commit
397764af30
@ -43,12 +43,24 @@ job "jellyfin" {
|
|||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
volumes = [
|
volumes = [
|
||||||
"/mnt/diskstation/nomad/jellyfin/config:/config",
|
"/mnt/diskstation/nomad/jellyfin/config:/config",
|
||||||
"/mnt/diskstation/media/:/media"
|
"/mnt/diskstation/nomad/jellyfin/cache:/cache",
|
||||||
|
"/mnt/diskstation/media/:/media",
|
||||||
|
"/mnt/diskstation/music/:/media2"
|
||||||
|
]
|
||||||
|
devices = [
|
||||||
|
{
|
||||||
|
host_path = "/dev/dri/renderD128"
|
||||||
|
container_path = "/dev/dri/renderD128"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
host_path = "/dev/dri/card0"
|
||||||
|
container_path = "/dev/dri/card0"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
resources {
|
resources {
|
||||||
memory = 900
|
memory = 1100
|
||||||
cpu= 3000
|
cpu= 3000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user