Last active
January 6, 2018 22:44
-
-
Save hanspagel/7a46a9b10a818f85a31b3c06f1c52ac2 to your computer and use it in GitHub Desktop.
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: -c /dev/null --web --docker --docker.domain=docker.localhost --logLevel=DEBUG | |
ports: | |
- "80:80" | |
- "8080:8080" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
api: | |
build: | |
context: ./api | |
dockerfile: Dockerfile | |
volumes: | |
- "./api/src:/var/www:rw,cached" | |
labels: | |
- "traefik.backend=api" | |
- "traefik.frontend.rule=Host:local.api.scrumpy.io" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment