Created
January 2, 2020 19:18
-
-
Save felipebossolani/4bcfda59e87f72cbdcfebf7a6169d544 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
# docker-compose.exe -f docker-compose.yml -f docker-production.yml up -d | |
version: "3" | |
services: | |
traefik: | |
image: "traefik" | |
container_name: "traefik" | |
command: | |
- "--api.insecure=true" | |
- "--providers.docker=true" | |
- "--providers.docker.exposedbydefault=false" | |
- "--entrypoints.web.address=:80" | |
ports: | |
- "80:80" | |
- "8080:8080" | |
volumes: | |
- "/var/run/docker.sock:/var/run/docker.sock:ro" | |
meuportfolio-api: | |
container_name: "meuportfolio-api" | |
labels: | |
- "traefik.enable=true" | |
- "traefik.frontend.rule=Host:stage-api.meuportfol.io" | |
- "traefik.port=80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment