-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
docker multiple networks routing #970
Comments
I'm seeing something similar. When multiple networks are used it won't route - time out. I have traefik in another docker-compose. |
Actually there is "traefik.docker.network" setting. Did you try it? |
Ahh, yes. It works, thanks! Note that if the network is created in a Traefik could determine this itself making setting |
Can you please post exactly how you solved this problem? Im having issues |
I'm having the same issue here, but I think I solve it by specifying the docker network in the traefik container's labels... |
Here's an example
docker-compose.yml
that has two networks defined, one for containers that should have traefik config and one for those that shouldn't be exposed.With a setup like this everything appears to be ok, but requests that match
PathPrefix:/api/
timeout as traefik creates the backend with the ip from thebackend
network, not the one from thetraefik
network.This is somewhat related to #959.
The text was updated successfully, but these errors were encountered: