staging: deploy tricot with jemalloc heap profiling
This commit is contained in:
parent
5fd5f72c81
commit
1c9d01db87
1 changed files with 8 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue