From 2484aef492f909b4241808c6faa303f08f7ed654 Mon Sep 17 00:00:00 2001 From: Pika <15848969+ThatNerdyPikachu@users.noreply.github.com> Date: Tue, 9 Jul 2019 16:27:17 -0400 Subject: [PATCH] docker: set ulimits for elasticsearch this sets the ulimits for elasticsearch to the recommended value of 65536 to avoid errors on startup. --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 2fd9f7c..c9c5a5f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,6 +59,10 @@ services: ES_JAVA_OPTS: -Xms512m -Xmx512m volumes: - index:/usr/share/elasticsearch/data + ulimits: + nofile: + soft: 65536 + hard: 65536 volumes: index: # Scratch space for ElasticSearch index, will be rebuilt if lost