-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
42 lines (41 loc) · 1.07 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
version: '2.4'
services:
seed_node:
image: "docker.io/strapdata/elassandra:6.8.4.3"
environment:
- "JVM_OPTS=-Dcassandra.custom_query_handler_class=org.elassandra.index.ElasticQueryHandler"
- "MAX_HEAP_SIZE=1200m"
- "HEAP_NEWSIZE=300m"
- "CASSANDRA_CGROUP_MEMORY_LIMIT=true"
- "DEBUG=true"
cap_add:
- IPC_LOCK
ulimits:
memlock: -1
mem_limit: 2000m
ports:
- "9042:9042"
- "9200:9200"
node:
image: "docker.io/strapdata/elassandra:6.8.4.3"
environment:
- "JVM_OPTS=-Dcassandra.custom_query_handler_class=org.elassandra.index.ElasticQueryHandler"
- "MAX_HEAP_SIZE=1200m"
- "HEAP_NEWSIZE=300m"
- "CASSANDRA_CGROUP_MEMORY_LIMIT=true"
- "CASSANDRA_SEEDS=seed_node"
- "DEBUG=true"
links:
- seed_node
cap_add:
- IPC_LOCK
ulimits:
memlock: -1
mem_limit: 2000m
kibana:
image: docker.elastic.co/kibana/kibana-oss:6.8.4
environment:
- "ELASTICSEARCH_URL=http://seed_node:9200"
ports:
- "5601:5601"
mem_limit: 500m