Created
April 27, 2016 13:27
-
-
Save adrahon/dfe31bfdb707c5eca10583fc9d3dd361 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: "2" | |
services: | |
voting-app: | |
image: docker/example-voting-app-voting-app | |
ports: | |
- "80" | |
networks: | |
- voteapp | |
result-app: | |
image: docker/example-voting-app-result-app | |
ports: | |
- "80" | |
networks: | |
- voteapp | |
worker: | |
image: docker/example-voting-app-worker | |
networks: | |
- voteapp | |
redis: | |
image: redis | |
ports: | |
- "6379" | |
networks: | |
- voteapp | |
container_name: redis | |
db: | |
image: postgres:9.4 | |
volumes: | |
- "db-data:/var/lib/postgresql/data" | |
networks: | |
- voteapp | |
container_name: db | |
volumes: | |
db-data: | |
networks: | |
voteapp: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment