job "tricot" { datacenters = ["zuma-house", "gribse-house", "mayel-house"] type = "system" priority = 90 update { max_parallel = 1 stagger = "5m" } group "tricot" { network { port "http_port" { static = 80 } port "https_port" { static = 443 } port "metrics_port" { static = 9334 } } task "server" { driver = "docker" config { image = "git.shenanigans.cc/zuma/tricot:filouterie" network_mode = "host" readonly_rootfs = true ports = [ "http_port", "https_port" ] volumes = [ "secrets:/etc/tricot", ] ulimit { nofile = "65535:65535" } # exporting jemalloc profiles requires a # writeable tmpfs mount { type = "tmpfs" target = "/tmp" readonly = false } } resources { cpu = 1000 memory = 400 } restart { interval = "5m" attempts = 10 delay = "15s" mode = "delay" } template { data = <