cloudnet-compose/docker-compose.yml

29 lines
411 B
YAML
Raw Normal View History

version: "2"
services:
voting-app:
build: ./voting-app
volumes:
- ./voting-app:/app
ports:
- "5000:80"
redis:
image: redis:alpine
ports: ["6379"]
worker:
build: ./worker
2015-11-15 20:59:29 +01:00
db:
image: postgres:9.4
2015-11-15 20:59:29 +01:00
result-app:
build: ./result-app
command: nodemon --debug server.js
volumes:
- ./result-app:/app
ports:
- "5001:80"
- "5858:5858"