add device to jellyfib

This commit is contained in:
vincent 2022-08-10 19:32:01 +02:00
parent 2396544099
commit 397764af30

View File

@ -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
} }
} }