From c26da678b3507cf106106a67c85134d89d55938a Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 4 Jan 2024 13:24:41 -0800 Subject: [PATCH] Small traefik cleanup Remove fallback DNS since we only care about internal DNS Use loopback address for accessing Nomad UI --- core/traefik/traefik.nomad | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/traefik/traefik.nomad b/core/traefik/traefik.nomad index 1a47a49..b836c02 100644 --- a/core/traefik/traefik.nomad +++ b/core/traefik/traefik.nomad @@ -44,7 +44,6 @@ job "traefik" { "192.168.2.101", "192.168.2.102", "192.168.2.30", - "192.168.2.170", ] } } @@ -160,7 +159,7 @@ job "traefik" { exposedByDefault = false defaultRule = "Host(`{{normalize .Name}}.<< with nomadVar "nomad/jobs" >><< .base_hostname >><< end >>`)" [providers.nomad.endpoint] - address = "http://<< env "attr.unique.network.ip-address" >>:4646" + address = "http://127.0.0.1:4646" EOH destination = "${NOMAD_TASK_DIR}/config/traefik.toml" }