add healtcheck

This commit is contained in:
Michael Grote 2023-04-16 14:16:31 +02:00
parent 20646001d0
commit c72cd2d7d8

View file

@ -47,5 +47,9 @@ VOLUME /var/cache/munin
EXPOSE 80 EXPOSE 80
# health check
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f http://localhost/munin/ || exit 1
# launcher # launcher
CMD ["/usr/local/bin/run"] CMD ["/usr/local/bin/run"]