-
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
Docker exposedbydefault = false didn't work #663
Comments
I have the same issue, I had to put the label |
I think that feature hasnt made it into any release version yet |
Ah yes, you're quite right. Sorry! |
Somehow this still doesn't work with either 1.5 or 1.6. Pretty annoying if you have tons of projects up.. :/ [docker]
endpoint = "unix:///var/run/docker.sock"
domain = "mydomain.tld"
watch = true
exposedbydefault = false still creates a frontend and backend for any container started... |
@bernhardberger come on Slack to explain your issue. |
seems like something in my docker command killed parts of the .toml file.
all good can be closed..
|
@bernhardberger can you explain what was the issue? I have the same problem. [docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
exposedbydefault = false but in debug logs there is |
I had to specify the path to the configFile in the docker-compose "command".
I also had to omit any other parameters (the only param being the configFile, somehow any param cancels out the use of this section in the config file..
|
https://docs.traefik.io/v1.6/basics/#static-trfik-configuration
To summary, don't mix CLI arguments and TOML on the same configuration section (ex: docker) |
Yeeeyyy... I had in |
With the following
traefik.toml
and Traefik v1.0.2 (official docker image), all my docker containers are exposed, despite settingexposedbydefault = false
.The text was updated successfully, but these errors were encountered: