2016-01-25 19:20:23 +01:00
|
|
|
version: "2"
|
2016-01-29 00:57:37 +01:00
|
|
|
|
2016-01-25 19:20:23 +01:00
|
|
|
services:
|
2016-06-18 18:14:28 +02:00
|
|
|
vote:
|
|
|
|
build: ./vote
|
2016-06-18 06:13:51 +02:00
|
|
|
command: python app.py
|
2016-01-25 19:20:23 +01:00
|
|
|
volumes:
|
2016-06-18 18:14:28 +02:00
|
|
|
- ./vote:/app
|
2016-01-25 19:20:23 +01:00
|
|
|
ports:
|
|
|
|
- "5000:80"
|
2016-01-29 00:57:37 +01:00
|
|
|
|
|
|
|
redis:
|
2016-04-25 20:28:21 +02:00
|
|
|
image: redis:alpine
|
2016-01-29 00:57:37 +01:00
|
|
|
ports: ["6379"]
|
2016-06-18 19:04:44 +02:00
|
|
|
|
|
|
|
worker:
|
|
|
|
build: ./worker
|
2015-11-15 20:59:29 +01:00
|
|
|
|
2016-01-25 19:20:23 +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
|
2016-06-18 19:04:44 +02:00
|
|
|
command: nodemon --debug server.js
|
|
|
|
volumes:
|
2016-06-18 18:14:28 +02:00
|
|
|
- ./result:/app
|
2016-06-18 19:04:44 +02:00
|
|
|
ports:
|
|
|
|
- "5001:80"
|
|
|
|
- "5858:5858"
|