Elasticsearch in a container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
319 B

#!/bin/sh
export ES_JAVA_OPTS="${ES_JAVA_OPTS:--Xms1G -Xmx1G}"
export ES_PATH_CONF=/etc/elasticsearch
exec /usr/share/elasticsearch/bin/elasticsearch \
-p /var/run/elasticsearch/elasticsearch.pid \
-E path.logs=/var/log/elasticsearch \
-E path.data=/var/lib/elasticsearch \
-E network.host=0.0.0.0 $@