perf: add memory max to jellyfin

This commit is contained in:
vincent 2023-09-21 20:27:27 +02:00
parent 2c1f3629c5
commit b44c620f95

View File

@ -9,14 +9,14 @@ job "jellyfin" {
attribute = "${attr.cpu.arch}" attribute = "${attr.cpu.arch}"
value = "amd64" value = "amd64"
} }
group jellyfin-vue{ group jellyfin-vue {
network { network {
mode = "host" mode = "host"
port "http" { port "http" {
to = 80 to = 80
} }
} }
task "jellyfin-vue"{ task "jellyfin-vue" {
driver = "docker" driver = "docker"
service { service {
name = "jellyfin-vue" name = "jellyfin-vue"
@ -102,6 +102,7 @@ job "jellyfin" {
} }
resources { resources {
memory = 2000 memory = 2000
memory_max = 4000
cpu = 3000 cpu = 3000
} }
} }