job "radicale" { datacenters = ["columbia"] region = "global" type = "service" constraint { attribute = "${meta.storage_optimized}" value = "true" } update { stagger = "30s" max_parallel = 1 } group "radicale" { count = 1 task "radicale" { vault { policies = ["default", "ansible"] change_mode = "restart" } driver = "docker" config { image = "docker.service.masked.name:8082/radicale" ports = ["http"] volumes = [ "/mnt/raid/radicale/collections:/collections" ] } service { name = "radicale" port = "http" check { name = "radicale" type = "tcp" interval = "10s" timeout = "2s" address_mode = "driver" } } template { data = <