-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yaml
54 lines (49 loc) · 1.15 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.6'
services:
prowes-worker:
image: prowes:latest
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
links:
- mongodb
- rabbitmq
command: bash -c "cd /app/pro_wes; celery -A celery_worker worker -E --loglevel=info"
volumes:
- ${PROWES_DATA_DIR:-../data/pro_wes/runs}:/data
prowes:
image: prowes:latest
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
links:
- mongodb
command: bash -c "cd /app/pro_wes; gunicorn -c gunicorn.py wsgi:app"
ports:
- "8090:8080"
volumes:
- ${PROWES_DATA_DIR:-../data/pro_wes/runs}:/data
rabbitmq:
image: rabbitmq:3-management
restart: unless-stopped
links:
- mongodb
ports:
- "5682:5672"
mongodb:
image: mongo:3.2
restart: unless-stopped
volumes:
- ${PROWES_DATA_DIR:-../data/pro_wes}/db:/data/db
ports:
- "27027:27017"
flower:
image: mher/flower:0.9.7
restart: unless-stopped
links:
- prowes-worker
command: flower --broker=amqp://guest:guest@rabbitmq:5672// --port=5555
ports:
- "5565:5555"