Skip to content

Instantly share code, notes, and snippets.

@subfuzion
Last active March 17, 2016 00:47
Show Gist options
  • Save subfuzion/d44b355ac083e72149ae to your computer and use it in GitHub Desktop.
Save subfuzion/d44b355ac083e72149ae to your computer and use it in GitHub Desktop.
Config
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