-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
support more than one rule to Docker backend #419
Comments
Of course it could be useful 👍 |
@emilevauge is this only for docker backend though ? |
@vdemeester for docker / marathon / consul services (every backend using labels/tags for creating rules) |
I probably can do it for Docker. I'm not a Go dev, not at all, but I think I have to modify And implement rule list like entrypoints |
For now, traefik support mutliple rules of the same kind #285 ie:
And it also works with The idea would be to support multiple kind of routes, ie:
We could use the separator WDYT? |
If it's OK for you, I'll try to implement this enhancement, for my first contribution |
@emilevauge I've seen you've entered in
|
@NicolasGeraud I guess you can close this one ;) |
Hi,
Traefik is awesome and it could be useful if supported more than 1 rule for docker backend.
I have 3 containers and I want to access to them via those urls :
demo.gravitee.io -> service1
demo.gravitee.io/api -> service2
demo.gravitee.io/gateway -> service3
The "theorical" way to achieve that is using those labels :
service 1:
Host:demo.gravitee.io
service 2:
Host:demo.gravitee.io
PathPrefix:/api
service 3:
Host:demo.gravitee.io
PathPrefix:/gateway
Do you think allow more than 1 rule for docker backends could be useful ?
The text was updated successfully, but these errors were encountered: