job "members-mysql" { datacenters = ["aperture"] constraint { attribute = "${attr.unique.hostname}" value = "wheatley" } group "db" { network { port "db" { static = 3306 } } task "mariadb" { driver = "docker" template { data = <