job "platoo" { datacenters = ["dc1"] type = "service" priority = 10 constraint { attribute = "${attr.cpu.arch}" value = "amd64" } group "core" { network { port "web_port" { to = 8080 } } task "nodejs" { driver = "docker" config { image = "victormoi/platoo:v1" force_pull = true ports = [ "web_port" ] } template { data = <