Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker swarm mode not discovering services without explicitly setting traefik.port property. #1388
What version of Traefik are you using (
changed the title from
Docker swarm mode Port empty?
Docker swarm mode not discovering services with explicitly setting traefik.port property.
Apr 5, 2017
Looking at Docker issues logs, looks like the following issue discusses why this is happening:
Should look into looking at the service and not the container for the exposed port if needed, as I would like to use random docker gen ports, so this will mean i wont have it b4 hand. I will work around it for now; but would love to see this added; I could help in implementation if needed.
@ammaskartik Did you try to :
More information about the Docker traefik label in the documentation.
If I may suggest, try this docker stack - https://github.com/pascalandy/docker-stack-this/tree/master/traefik-manager-noacme