Created
April 20, 2020 15:10
-
-
Save tomasmetal23/67692d0d46fea7d5a107e9de9a7f5631 to your computer and use it in GitHub Desktop.
docker-compose para desplegar portainer con traefik v1.7.*
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
app: | |
image: portainer/portainer:latest | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /var/data/portainer:/data | |
networks: | |
- web | |
labels: | |
- traefik.docker.network=web | |
- traefik.frontend.rule=Host:portainer.tudominio.com | |
- traefik.port=9000 | |
- traefik.backend=portainer | |
command: -H unix:///var/run/docker.sock | |
networks: | |
web: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment