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