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

View File

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