change consul adress to variable
This commit is contained in:
parent
4a93a2917a
commit
1f396af153
@ -93,7 +93,7 @@ job "traefik-ingress" {
|
|||||||
[providers.consulCatalog]
|
[providers.consulCatalog]
|
||||||
exposedByDefault = false
|
exposedByDefault = false
|
||||||
[providers.consulCatalog.endpoint]
|
[providers.consulCatalog.endpoint]
|
||||||
address = "10.0.0.1:8500"
|
address = "{{{env "NOMAD_IP_admin"}}}:8500"
|
||||||
[log]
|
[log]
|
||||||
[accessLog]
|
[accessLog]
|
||||||
[api]
|
[api]
|
||||||
|
Loading…
Reference in New Issue
Block a user