forked from ahujameg/pedia-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (76 loc) · 1.96 KB
/
docker-compose.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3.4'
x-cadd-rest-api-celeryd-worker: &cadd-rest-api-celeryd-worker
image: bihealth/cadd-rest-api:0.3.4-0
env_file: <path/to/cadd-rest-api.env>
command:
- celeryd
networks:
- varfish
restart: unless-stopped
volumes:
- "/nvme/IGSB/CADD/data/annotations:/opt/miniconda3/share/cadd-scripts-1.6-0/data/annotations:ro"
- "/nvme/IGSB/CADD/data/prescored:/opt/miniconda3/share/cadd-scripts-1.6-0/data/prescored:ro"
- "/nvme/IGSB/CADD/db:/data/db:rw"
services:
# We need both # the server and the CADD-based worker.
#
# You will need "cadd-rest-api-server" and "cadd-rest-api-celeryd-worker-*".
cadd-rest-api-server:
image: bihealth/cadd-rest-api:0.3.4-0
env_file: <path/to/cadd-rest-api.env>
ports:
- "8080:8080"
command:
- wsgi
networks:
- varfish
restart: unless-stopped
volumes:
- type: bind
source: /nvme/IGSB/CADD/db/
target: /data/db
read_only: false
# You have to provide multiple cadd-rest-api-celeryd-worker container if
# you want to handle more than one query at a time.
cadd-rest-api-celeryd-worker-1:
<<: *cadd-rest-api-celeryd-worker
cadd-rest-api-celeryd-worker-2:
<<: *cadd-rest-api-celeryd-worker
cadd-rest-api-celeryd-worker-3:
<<: *cadd-rest-api-celeryd-worker
cadd-rest-api-celeryd-worker-4:
<<: *cadd-rest-api-celeryd-worker
redis:
image: redis:6
restart: unless-stopped
volumes:
- "/nvme/IGSB/redis/data:/data:rw"
networks:
- varfish
gm-app:
image: gm-api:latest
hostname: gm-api
ports:
- '5000:5000'
expose:
- '5000'
networks:
- varfish
classifier-api:
image: classifier-api:latest
hostname: classifier-api
ports:
- '9000:9000'
expose:
- '9000'
middleware-app:
image: middleware-app:latest
hostname: middleware-app
ports:
- '7000:7000'
expose:
- '7000'
networks:
- varfish
networks:
varfish: