updated elastic search memory

This commit is contained in:
2018-04-03 13:51:26 +02:00
parent 4c81ddca32
commit 0846a9da9d

View File

@@ -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: