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:
parent
e14f08ddc6
commit
2484aef492
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue