-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
71 lines (71 loc) · 1.75 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
version: "3.7"
services:
api:
build:
cache_from:
- josiahwolfoberholtzer/on-exactitude-in-science-api:latest
context: api
command: gunicorn --conf gunicorn.conf.py maps.app:app
environment:
GUNICORN_ACCESSLOG: "-"
GUNICORN_BIND: 0.0.0.0:9090
GUNICORN_CAPTURE_OUTPUT: "true"
GUNICORN_ERRORLOG: "-"
GUNICORN_LOGLEVEL: debug
GUNICORN_RELOAD: "true"
GUNICORN_WORKERS: 4
GUNICORN_WORKER_CLASS: aiohttp.worker.GunicornUVLoopWebWorker
GUNICORN_ENABLE_STDIO_INHERITANCE: "true"
depends_on:
- janusgraph-healthcheck
- memcached
ports:
- 9090:9090
volumes:
- ./api:/app
- ./data:/data
gui:
build:
context: gui
ports:
- 8080:80
volumes:
- ./gui/dist:/var/www/html
cassandra:
image: cassandra:3.11.6
ports:
- 9042:9042
- 9160:9160
scylla:
image: scylladb/scylla:4.1.7
elasticsearch:
environment:
ES_JAVA_OPTS: -Xms512m -Xmx512m
http.host: 0.0.0.0
network.host: 0.0.0.0
transport.host: 127.0.0.1
cluster.name: docker-cluster
xpack.security.enabled: "false"
discovery.zen.minimum_master_nodes: 1
#image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
image: elasticsearch:7.9.2
ports:
- 9200:9200
janusgraph:
depends_on:
- scylla
- elasticsearch
image: janusgraph/janusgraph:0.5.2
ports:
- 8182:8182
volumes:
- ./janusgraph:/etc/opt/janusgraph:ro
janusgraph-healthcheck:
command: "-sSf --retry 60 --retry-delay 5 --retry-max-time 180 --retry-connrefused 'http://janusgraph:8182?gremlin=100-1'"
depends_on:
- janusgraph
image: curlimages/curl:latest
memcached:
image: memcached:latest
ports:
- 11211:11211