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