job "not_safe_object_storage" { datacenters = ["dc1"] type = "service" constraint { attribute = "${attr.cpu.arch}" value = "amd64" } group "not_safe_pithos" { count = 2 task "not_safe_server" { driver = "docker" config { image = "superboum/amd64_pithos:v1" readonly_rootfs = true port_map { s3_port = 8080 } volumes = [ "secrets/pithos.yaml:/etc/pithos/pithos.yaml" ] } resources { memory = 500 network { port "s3_port" { static = "8080" } } } template { data = <