Merge pull request #1329 from monkeycorp/bugfix/elastisearh-low-memory

add memory to process up elastiseach
This commit is contained in:
Mahmoud Zalt 2018-01-09 19:15:23 +01:00 committed by GitHub
commit ae7dda9ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -503,12 +503,12 @@ services:
environment: environment:
- cluster.name=laradock-cluster - cluster.name=laradock-cluster
- bootstrap.memory_lock=true - bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms256m -Xmx256m" - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits: ulimits:
memlock: memlock:
soft: -1 soft: -1
hard: -1 hard: -1
mem_limit: 512m mem_limit: 1024m
ports: ports:
- "${ELASTICSEARCH_HOST_HTTP_PORT}:9200" - "${ELASTICSEARCH_HOST_HTTP_PORT}:9200"
- "${ELASTICSEARCH_HOST_TRANSPORT_PORT}:9300" - "${ELASTICSEARCH_HOST_TRANSPORT_PORT}:9300"