mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-16 08:37:12 +00:00
[es] Added HEALTHCHECK
This commit is contained in:
1 parent
2125fa0855
commit
17420ed590
2 files changed
+18
No files matched your search
@@ -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