From d0bc4a17d41f0dbd7d7d629fc9f5c734abd11582 Mon Sep 17 00:00:00 2001 From: Caleb Braaten Date: Tue, 6 Feb 2024 16:51:36 -0800 Subject: [PATCH] Consolodate Ingres and Postgres Gitea Services --- nomad_jobs/services/gitea/gitea.nomad.hcl | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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",