Created
May 6, 2017 11:01
-
-
Save russmckendrick/6d538b07955547fde677fb49db64dd16 to your computer and use it in GitHub Desktop.
traefik example
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: | |
traefik: | |
image: traefik | |
command: --web --docker --docker.domain=local.media-glass.es --docker.watch --logLevel=DEBUG | |
networks: | |
- scale | |
ports: | |
- "80:80" | |
- "8080:8080" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /dev/null:/traefik.toml | |
cluster: | |
image: russmckendrick/cluster | |
labels: | |
- 'traefik.port=80' | |
- 'traefik.frontend.rule=Host:cluster.local.media-glass.es' | |
networks: | |
- scale | |
networks: | |
scale: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment