summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorPika <15848969+ThatNerdyPikachu@users.noreply.github.com>2019-07-09 16:27:17 -0400
committerGitHub <noreply@github.com>2019-07-09 16:27:17 -0400
commit2484aef492f909b4241808c6faa303f08f7ed654 (patch)
tree756416038722bda784589c1c40f90524fe77d185 /docker-compose.yml
parente14f08ddc69178f553513bc0f6dd8d4a6d1622e6 (diff)
docker: set ulimits for elasticsearch
this sets the ulimits for elasticsearch to the recommended value of 65536 to avoid errors on startup.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files changed, 4 insertions, 0 deletions
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