staging: deploy tricot with jemalloc heap profiling

This commit is contained in:
Armaël Guéneau 2025-04-13 11:03:20 +02:00
parent 5fd5f72c81
commit 1c9d01db87

View file

@ -24,7 +24,7 @@ job "core-tricot" {
driver = "docker" driver = "docker"
config { config {
image = "armael/tricot:63y35616dja8wq58dhcz362xsz95jzyk-76cae34d" image = "armael/tricot:jemalloc-3"
network_mode = "host" network_mode = "host"
readonly_rootfs = true readonly_rootfs = true
ports = [ "http_port", "https_port" ] ports = [ "http_port", "https_port" ]
@ -34,6 +34,13 @@ job "core-tricot" {
ulimit { ulimit {
nofile = "65535:65535" nofile = "65535:65535"
} }
# exporting jemalloc profiles requires a
# writeable tmpfs
mount {
type = "tmpfs"
target = "/tmp"
readonly = false
}
} }
resources { resources {