[es] Added HEALTHCHECK

This commit is contained in:
Geoff Bourne
2017-02-04 14:37:45 -06:00
parent 2125fa0855
commit 17420ed590
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@ RUN cd /usr/share && \
EXPOSE 9200 9300
HEALTHCHECK --timeout=5s CMD wget -q -O - http://$HOSTNAME:9200/_cat/health
ENV ES_HOME=/usr/share/elasticsearch-$ES_VERSION \
DEFAULT_ES_USER=elasticsearch \
ES_JAVA_OPTS="-Xms1g -Xmx1g"