job "mc-router" { datacenters = ["aperture"] type = "service" constraint { attribute = "${attr.unique.hostname}" value = "bastion-vm" } group "mc-router" { count = 1 network { port "mc" { static = 4501 } } service { port = "mc" check { type = "tcp" interval = "10s" timeout = "2s" } } task "webserver" { driver = "docker" config { image = "ghcr.io/minekube/gate" ports = ["mc"] volumes = [ "local/file.conf:/config.yaml" ] } template { data = <