-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Doesn't work with multiple networks in swarm mode #3535
Comments
|
So traefik chooses a wrong ip while connecting to whoami0. Let's try to use this "traefik.docker.network" label.
And it works... I swear it didn't work before... |
Hi! I'm Træfiker 🤖 the bot in charge of tidying up the issues. Thanks again for your interest in Træfik! I'm glad to close the issue because I think that the question has been answered (Yes, I'm quite an advanced AI 😄) Join our Slack workspace for more community #support. |
Ok, the issue I was having is that I missed dashes in docker.swarmmode=true:
So it only worked when it was on the same machine :) |
Had the same issue, thanks for the docker.network label hint! |
Do you want to request a feature or report a bug?
Bug
What did you do?
Compose file for traefik:
Deploy traefik:
Deploy app:
What did you expect to see?
I expected http://whoami0.traefik:30000 to work
What did you see instead?
Gateway Timeout
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
--web --docker --docker.domain=$TRAEFIK_DOMAIN docker.swarmmode=true --loglevel=DEBUG --docker.watch
If applicable, please paste the log output in DEBUG level (
--logLevel=DEBUG
switch)The text was updated successfully, but these errors were encountered: