-
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 deploy -c example.yml e #1169
Labels
Comments
I think you just need to modify your stack like this:
In compose v3 there are two different type of labels:
|
Awesome! Thanks for a quick resolution. I going to attempt to deploy real apps in a multi-node swarm now. Thank you very much. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks for Traefik.
What version of Traefik are you using (
traefik version
)?Traefik version v1.1.2 built on 2016-12-15_10:21:15AM
What is your environment & configuration (arguments, toml...)?
What did you do?
I am following https://docs.traefik.io/user-guide/swarm-mode/ and it works.
Now I create a
example.yml
described below and it does not.What did you expect to see?
I expect curl to work like https://docs.traefik.io/user-guide/swarm-mode/
What did you see instead?
404
I am following https://docs.traefik.io/user-guide/swarm-mode/ and it works now I create
example.yml
like this.and deploy
docker deploy -c example.yml. e
I also edited
/etc/hosts
so I am able to see http://whoami0.traefik:8080/dashboard/#!/health
and visualizer is http://51.15.132.133:8000 and Traefic dashboard is http://51.15.132.133:8080
but http://51.15.132.133 and http://whoami0.traefik and http://whoami1.traefik show 404.
curl -H Host:whoami0.traefik http://$(docker-machine ip manager)
shows 404 page not found.What am I missing?
docker logs traefic
https://gist.github.com/lvnilesh/55ec9646e13ec262a107489dc4ea1efedocker inspect e_whoami0
https://gist.github.com/lvnilesh/f100db43a3b6b0896d95188e2e93b834docker service inspect e_traefic
https://gist.github.com/lvnilesh/22ac8fed4c20d71c812c7f5ef129632aThe text was updated successfully, but these errors were encountered: