mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-30 18:57:15 +00:00
[es] Added HEALTHCHECK
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user