-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
44 lines (44 loc) · 1.1 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
version: "3"
services:
web:
# replace username/repo:tag with your name and image details
image: genenetwork
build: ./
ports:
- "1337:1337"
- "80:80"
depends_on:
- redis
- elasticsearch
- predictionserver
- pwaserver
volumes:
- "/data:/data"
environment:
- "discovery.zen.ping.unicast.hosts=elasticsearch"
- ELASTICSEARCH_URL=http://elasticsearch:9200"
- ELASTICSEARCH_HOST=elasticsearch
redis:
image: redis
expose:
- "6379"
elasticsearch:
image: elasticsearch:2.4
expose:
- "9200"
predictionserver:
image: predictionserver
build: ./servers/PredictionServer/
depends_on:
- redis
- elasticsearch
volumes:
- "/data:/data"
pwaserver:
image: pwaserver
build: ./servers/PWAServer/
depends_on:
- redis
- elasticsearch
volumes:
- "/data:/data"