forked from jedijamez567/worldview_oss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 844 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 844 Bytes
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
services:
cassandra:
image: cassandra:4.1.7
ports:
- "${CASSANDRA_PORT:-9042}:9042"
volumes:
- cassandra-data:/var/lib/cassandra
environment:
- MAX_HEAP_SIZE=${CASSANDRA_MAX_HEAP:-1G}
- HEAP_NEWSIZE=${CASSANDRA_HEAP_NEW:-200M}
healthcheck:
test: ["CMD-SHELL", "cqlsh -e 'describe cluster'"]
interval: 30s
timeout: 10s
retries: 5
janusgraph:
image: janusgraph/janusgraph:1.0.0
ports:
- "${GREMLIN_PORT:-8182}:8182"
environment:
- JANUS_PROPS_TEMPLATE=cql
- janusgraph.storage.hostname=cassandra
depends_on:
cassandra:
condition: service_healthy
healthcheck:
test: ["CMD", "bin/gremlin.sh", "-e", "scripts/remote-connect.groovy"]
interval: 30s
timeout: 10s
retries: 10
volumes:
cassandra-data: