-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yaml
55 lines (49 loc) · 1.09 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:
wes:
image: elixircloud/cwl-wes:latest
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
links:
- mongodb
command: bash -c "cd /app/cwl_wes; gunicorn -c gunicorn.py wsgi:app"
volumes:
- ../data/cwl_wes:/data
ports:
- "8080:8080"
wes-worker:
image: elixircloud/cwl-wes:latest
restart: unless-stopped
depends_on:
- wes
links:
- mongodb
- rabbitmq
command: bash -c "cd /app/cwl_wes; celery -A worker worker -E --loglevel=info"
volumes:
- ../data/cwl_wes:/data
rabbitmq:
image: "rabbitmq:3-management"
hostname: "rabbitmq"
restart: unless-stopped
links:
- mongodb
ports:
- "5672:5672"
mongodb:
image: mongo:3.6
restart: unless-stopped
volumes:
- ../data/cwl_wes/db:/data/db
ports:
- "27017:27017"
flower:
image: mher/flower:0.9.7
restart: unless-stopped
links:
- wes-worker
command: flower --broker=amqp://guest:guest@rabbitmq:5672// --port=5555
ports:
- "5555:5555"