job "gitea" { region = "global" datacenters = [ "nazrin" ] type = "service" group "svc" { count = 1 network { mode = "bridge" port "http" { static = 5000 to = 3000 } port "ssh_pass" { static = 222 to = 22 } port "db" { to = 5432 } } service { name = "gitea-http" port = "http" } vault { policies = [ "giteapolicy" ] } task "app" { template { data = <