-
-
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
Update user guide for upcoming docker stack deploy
#1041
Conversation
@twelvelabs cool ! I think we might even add a complete guide on it (with the composefile as example, etc…). What do you think ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks @twelvelabs :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🦁
We can do a complete update in a follow-up.
@twelvelabs I rebase the PR 😉
Team, I am doing stack deploy for traefik and wordpress image through docker-compose.yml and the stack is deployed. I am in browser now with http://localhost:8080, I can see my containers there and if hit my container URL it is loading in new tab but not responding. docker-compose.yml version: '3'
services:
traefik:
image: traefik
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG
networks:
- traefik-net
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev/null:/traefik.toml
web:
image: emilevauge/whoami
networks:
- default
- traefik-net
deploy:
labels:
- "traefik.port=80"
- "traefik.docker.network=traefik-net"
- "traefik.frontend.rule=Host:whoamistack.traefik.local"
wordpress:
image: wordpress:latest
networks:
- default
- traefik-net
deploy:
labels:
- "traefik.port=80"
- "traefik.docker.network=traefik-net"
- "traefik.frontend.rule=Host:wordpress.traefik.local"
networks:
traefik-net:
external: true Any help appreciated. Thanks in advance. |
Thanks for your interest in Traefik 😃 This PR is closed. Please discuss this in :
|
I was following https://docs.traefik.io/user-guide/swarm-mode/ and ran across the problem described in #994. This adds a small note to the user guide for future travelers.