change consul adress to variable

This commit is contained in:
vincent 2022-06-20 21:54:45 +02:00
parent 4a93a2917a
commit 1f396af153

View File

@ -93,7 +93,7 @@ job "traefik-ingress" {
[providers.consulCatalog]
exposedByDefault = false
[providers.consulCatalog.endpoint]
address = "10.0.0.1:8500"
address = "{{{env "NOMAD_IP_admin"}}}:8500"
[log]
[accessLog]
[api]