forked from elixir-cloud-aai/proTES
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
47 lines (42 loc) · 1.03 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
version: '3.6'
services:
celery-worker-protes:
image: protes:latest
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
links:
- mongo-protes
- rabbit-protes
command: bash -c "cd /app/pro_tes; celery worker -A celery_worker -E --loglevel=info"
volumes:
- ../data/pro_tes:/data
protes:
image: protes:latest
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
links:
- mongo-protes
command: bash -c "cd /app/pro_tes; gunicorn -c config.py wsgi:app"
volumes:
- ../data/pro_tes:/data
rabbit-protes:
image: "rabbitmq:3-management"
hostname: "rabbit"
restart: unless-stopped
links:
- mongo-protes
mongo-protes:
image: mongo:3.2
restart: unless-stopped
volumes:
- ../data/pro_tes/db:/data/db
flower-protes:
image: mher/flower:0.9
restart: unless-stopped
links:
- celery-worker-protes
command: flower --broker=amqp://guest:guest@rabbit-protes:5672// --port=5555