Browse Source

add healthcheck

dehydrated-hook-powerdns
will Farrell 8 years ago
parent
commit
f55f2049f7
  1. 3
      Dockerfile

3
Dockerfile

@ -25,4 +25,7 @@ COPY config /etc/dehydrated/config
COPY docker-entrypoint.sh / COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
HEALTHCHECK --interval=5s --timeout=3s \
CMD ps aux | grep '[d]ehydrated' || exit 1
CMD ["dehydrated","-h"] CMD ["dehydrated","-h"]

Loading…
Cancel
Save