Skip to content

Commit

Permalink
update ipaddres listen for traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
star3am committed Aug 15, 2024
1 parent c9dac60 commit 300671a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nomad/nomad/jobs/traefik.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ job "traefik" {
task "server" {
driver = "docker"
config {
image = "traefik:v2.8.0-rc1"
image = "traefik:latest"
ports = ["admin", "http"]
args = [
"--api.dashboard=true",
"--api.insecure=true", ### For Test only, please do not use that in production
"--entrypoints.web.address=:${NOMAD_PORT_http}",
"--entrypoints.traefik.address=:${NOMAD_PORT_admin}",
"--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
]
Expand Down

0 comments on commit 300671a

Please sign in to comment.