docker: set ulimits for elasticsearch

this sets the ulimits for elasticsearch to the recommended value of 65536 to avoid errors on startup.
This commit is contained in:
Pika 2019-07-09 16:27:17 -04:00 committed by GitHub
parent e14f08ddc6
commit 2484aef492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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