Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensible configuration for consulCatalog #737

Closed
rokka-n opened this issue Oct 16, 2016 · 1 comment
Closed

Sensible configuration for consulCatalog #737

rokka-n opened this issue Oct 16, 2016 · 1 comment

Comments

@rokka-n
Copy link

rokka-n commented Oct 16, 2016

Is this config suppose to create and expose everything from consul service catalog? That's what I see - everything in consul's services gets full pass via traefik.

defaultEntryPoints = ["http"]
loglevel = "DEBUG"

[entryPoints]
  [entryPoints.http]
  address = ":81"
[web]
address = ":8080"

[consulCatalog]
endpoint = "consul:8500"
watch = "True"
  [[consulCatalog.constraints]]
    key = "tag"
    mustmatch = true
    regex = "traefik.enable=true"
@rokka-n rokka-n changed the title Configuration for Sensible configuration for consulCatalog Oct 16, 2016
@rokka-n
Copy link
Author

rokka-n commented Oct 16, 2016

Never mind.
I found out that traefik configures all frontends automatically if it was linked to a container with consul.

@rokka-n rokka-n closed this as completed Oct 16, 2016
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants