add memory to process up elastiseach

This commit is contained in:
Miguel Ángel Sánchez Palafox 2017-12-28 10:54:45 -06:00
parent 7fc3a9cb7a
commit 00f8c3407e
1 changed files with 2 additions and 2 deletions

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"