diff --git a/Dockerfile b/Dockerfile index 515f7e4..e98865d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,5 +47,9 @@ VOLUME /var/cache/munin EXPOSE 80 +# health check +HEALTHCHECK --interval=5m --timeout=3s \ + CMD curl -f http://localhost/munin/ || exit 1 + # launcher CMD ["/usr/local/bin/run"]