Skip to content

Commit

Permalink
update ipaddres for nomad in traefik using variable
Browse files Browse the repository at this point in the history
  • Loading branch information
star3am committed Aug 15, 2024
1 parent 300671a commit c1c35c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/nomad/jobs/traefik.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ job "traefik" {
"--entrypoints.web.address=0.0.0.0:${NOMAD_PORT_http}",
"--entrypoints.traefik.address=0.0.0.0:${NOMAD_PORT_admin}",
"--providers.nomad=true",
"--providers.nomad.endpoint.address=http://10.9.99.10:4646" ### IP to your nomad server
"--providers.nomad.endpoint.address=http://${attr.unique.network.ip-address}:4646" ### IP to your nomad server
]
}
}
Expand Down

0 comments on commit c1c35c3

Please sign in to comment.