Last active
March 17, 2016 00:47
-
-
Save subfuzion/d44b355ac083e72149ae to your computer and use it in GitHub Desktop.
Config
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:80" | |
result-app: | |
image: docker/example-voting-app-result-app | |
ports: | |
- "5000:80" | |
worker: | |
image: docker/example-voting-app-worker | |
redis: | |
image: redis | |
ports: | |
- "6379" | |
container_name: redis | |
db: | |
image: postgres:9.4 | |
volumes: | |
- "db-data:/var/lib/postgresql/data" | |
container_name: db | |
volumes: | |
db-data: | |
networks: | |
default: | |
ipam: | |
config: | |
- subnet: 10.10.10.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment