-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 1.18 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.2"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.1
restart: unless-stopped
command: elasticsearch
ports:
- "0.0.0.0:9200:9200"
- "0.0.0.0:9300:9300"
expose:
- "9200"
- "9300"
volumes:
- ./elasticsearch/data:/usr/share/elasticsearch/data
- ./elasticsearch/config:/usr/share/elasticsearch/config
- ./elasticsearch/logs:/usr/share/elasticsearch/logs
environment:
- MAX_LOCKED_MEMORY=unlimited
csrec:
image: elegansio/csrec-webapp:1.0.0
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
command: ["/bin/bash", "-c", "source activate csrec && exec csrec_webapp.py --port=8000"]
ports:
- "0.0.0.0:8000:8000"
orac:
image: elegansio/orac-api:1.0.0-rc4
restart: unless-stopped
command: ["/orac/scripts/utils/wait-for-it.sh", "orac-elasticsearch", "9200", "10", "/orac/bin/orac-api"]
volumes:
- ./orac/config:/orac/config
ports:
- "0.0.0.0:8888:8888"
- "0.0.0.0:8443:8443"
links:
- "elasticsearch:orac-elasticsearch"
- "csrec:csrec"