Last active
November 27, 2018 07:20
-
-
Save jhburns/6962fffcf6efbce0faf4a142731de838 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: '2' | |
services: | |
portainer: | |
image: portainer/portainer | |
ports: | |
- "9000:9000" | |
command: -H unix:///var/run/docker.sock | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- portainer_data:/data | |
labels: | |
- "traefik.backend=portainer" | |
- "traefik.frontend.rule=PathPrefixStripRegex:/ship/" | |
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_monitoring" | |
- "traefik.enable=true" | |
- "traefik.port=9000" | |
- "traefik.default.protocol=http" | |
wemips: | |
build: ./WeMips | |
ports: | |
- "5000:80" | |
labels: | |
- "traefik.backend=wemips" | |
- "traefik.frontend.rule=PathPrefixStripRegex:/wemips/" | |
reverse-proxy: | |
image: traefik | |
command: --api --docker | |
ports: | |
- "80:80" | |
- "8080:8080" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
volumes: | |
portainer_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment