job "ddclient" { datacenters = ["dc1"] type = "service" group "ddclient" { task "ddclient" { driver = "docker" config { image = "linuxserver/ddclient:3.9.1" mount { type = "bind" source = "secrets/ddclient.conf" target = "/config/ddclient.conf" } } vault { policies = [ "access-tables", "nomad-task", ] } template { data = <