diff --git a/nomad_jobs/services/gitea/gitea.nomad.hcl b/nomad_jobs/services/gitea/gitea.nomad.hcl index 4cc8a04..7392941 100644 --- a/nomad_jobs/services/gitea/gitea.nomad.hcl +++ b/nomad_jobs/services/gitea/gitea.nomad.hcl @@ -18,9 +18,9 @@ job "gitea" { } service { - name = "postgres" - tags = ["traefik.enable=false"] # Hide envoy from traefik - + name = "gitea" + port = "ingress" + connect { sidecar_service { proxy { @@ -33,11 +33,6 @@ job "gitea" { tags = ["traefik.enable=false"] # Hide envoy from traefik } } - } - - service { - name = "gitea" - port = "ingress" tags = [ "traefik.enable=true",