Permalink
Switch branches/tags
Nothing to show
Find file Copy path
0f9a4b2 Nov 14, 2015
1 contributor

Users who have contributed to this file

32 lines (31 sloc) 676 Bytes
frontend:
build: ./example-docker-services-frontend
ports:
- "4567:4567"
links:
- rabbitmq
- postgres
environment:
- AMPQ_ADDRESS=amqp://rabbitmq:5672
- DATABASE_URL=postgres://postgres:mysecretpassword@postgres:5432
volumes:
- ./example-docker-services-frontend/:/app
grader:
build: ./example-docker-services-grader
links:
- rabbitmq
environment:
- AMPQ_ADDRESS=amqp://rabbitmq:5672
volumes:
- ./example-docker-services-grader/:/app
rabbitmq:
image: rabbitmq
ports:
- 5672
postgres:
image: postgres:latest
ports:
- 5432
environment:
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_USER=postgres