updated elastic search memory
This commit is contained in:
@@ -27,6 +27,17 @@ services:
|
||||
|
||||
es:
|
||||
image: elasticsearch:2.4-alpine
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: 20480
|
||||
hard: 20480
|
||||
environment:
|
||||
ES_HEAP_SIZE: "24m"
|
||||
ES_JAVA_OPTS: "-server"
|
||||
MAX_LOCKED_MEMORY: 20480
|
||||
index.number_of_shards: 1
|
||||
index.number_of_replicas: 0
|
||||
network.tcp.block: 1
|
||||
expose:
|
||||
- "9200"
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user