add healtcheck
This commit is contained in:
parent
20646001d0
commit
c72cd2d7d8
1 changed files with 4 additions and 0 deletions
|
@ -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"]
|
||||||
|
|
Reference in a new issue