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
|
@ -59,6 +59,10 @@ services:
|
||||||
ES_JAVA_OPTS: -Xms512m -Xmx512m
|
ES_JAVA_OPTS: -Xms512m -Xmx512m
|
||||||
volumes:
|
volumes:
|
||||||
- index:/usr/share/elasticsearch/data
|
- index:/usr/share/elasticsearch/data
|
||||||
|
ulimits:
|
||||||
|
nofile:
|
||||||
|
soft: 65536
|
||||||
|
hard: 65536
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
index: # Scratch space for ElasticSearch index, will be rebuilt if lost
|
index: # Scratch space for ElasticSearch index, will be rebuilt if lost
|
||||||
|
|
Loading…
Reference in New Issue