Docs: Troubleshooting help for Docker Swarm labels #4751
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds helpful troubleshooting guidelines for configuring a service from the docker-compose file when attempting to automatically pick up services from Docker Swarm.
Motivation
I literally have spent the last 3 full days trying to configure my service to get Traefik to redirect traffic to Docker Swarm services. The problem was simply solved by ensuring
traefik.docker.network
andtraefik.port
were included. Was very frustrating and I want to make sure others don't need to go through the same frustration.Additional Notes
Please feel free to reformat/re-write based on the project's documentation practices. I just want to make sure anyone attempting to configure Docker Swarm services know what is required.
And thanks to #3535 to help me figure this out.