job "unbound" { region = "global" datacenters = ["samfelag"] type = "service" group "unbound" { count = 1 volume "unbound" { type = "host" read_only = false source = "dns-unbound" } restart { attempts = 5 delay = "15s" } network { port "dns" { static = 5533 } } task "unbound" { driver = "docker" volume_mount { volume = "unbound" destination = "/opt/unbound/etc/unbound/" read_only = false } config { image = "mvance/unbound:latest" ports = ["dns"] } resources { cpu = 50 memory = 64 } } } }