MikeThomsen commented on a change in pull request #3266: NIFI-5955 add a Docker
HEALTHCHECK
URL: https://github.com/apache/nifi/pull/3266#discussion_r251131864
##########
File path: nifi-docker/dockermaven/Dockerfile
##########
@@ -88,6 +89,8 @@ RUN echo "#!/bin/sh\n" > $NIFI_HOME/bin/nifi-env.sh
# Web HTTP(s) & Socket Site-to-Site Ports
EXPOSE 8080 8443 10000
+HEALTHCHECK CMD curl -fsSL http://$(hostname -i || echo
localhost):${NIFI_WEB_HTTP_PORT}/nifi || exit 1
Review comment:
Same deal here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services