cloudnet-compose/docker-compose.yml

30 lines
408 B
YAML
Raw Normal View History

version: "2"
services:
2016-06-18 18:14:28 +02:00
vote:
build: ./vote
2016-06-18 06:13:51 +02:00
command: python app.py
volumes:
2016-06-18 18:14:28 +02:00
- ./vote:/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
2016-06-18 18:14:28 +02:00
result:
build: ./result
command: nodemon --debug server.js
volumes:
2016-06-18 18:14:28 +02:00
- ./result:/app
ports:
- "5001:80"
- "5858:5858"