cloudnet-compose/docker-compose.yml
Ben Firshman 878cdeb583 Move everything into the root directory
The separate vote-apps directory was because networking didn't
used to support aliases to remove the project name.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-02-04 10:53:27 -08:00

37 lines
510 B
YAML

version: "2"
services:
voting-app:
build: ./voting-app/.
volumes:
- ./voting-app:/app
ports:
- "5000:80"
links:
- redis
redis:
image: redis
ports: ["6379"]
worker:
build: ./worker
links:
- db
- redis
db:
image: postgres:9.4
volumes:
- "myvolume:/var/lib/postgresql/data"
result-app:
build: ./result-app/.
volumes:
- ./result-app:/app
ports:
- "5001:80"
links:
- db
volumes:
myvolume: