cloudnet-compose/docker-compose.yml
Ben Firshman df96dfd638 Add Node debugging
and simplify Compose file
2016-06-18 10:04:44 -07:00

29 lines
411 B
YAML

version: "2"
services:
voting-app:
build: ./voting-app
volumes:
- ./voting-app:/app
ports:
- "5000:80"
redis:
image: redis:alpine
ports: ["6379"]
worker:
build: ./worker
db:
image: postgres:9.4
result-app:
build: ./result-app
command: nodemon --debug server.js
volumes:
- ./result-app:/app
ports:
- "5001:80"
- "5858:5858"