Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit ae24395

Browse files
author
Chris Wiechmann
committed
Following the recommendation about how to configure ES
1 parent 0abff44 commit ae24395

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ services:
55
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1
66
container_name: elasticsearch1
77
environment:
8-
- "ES_JAVA_OPTS=-Xms750M -Xmx750M"
8+
# This should be 50% of your available memory, but not more than 31GB
9+
# The remaining 50% of memory will be used by Apache Lucene
10+
- ES_HEAP_SIZE: 1g
911
ulimits:
1012
memlock:
1113
soft: -1

0 commit comments

Comments
 (0)