Skip to content

Commit

Permalink
Revise healthchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewVance committed Jul 3, 2021
1 parent b9fcc7f commit 1b3f463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ EXPOSE 8053/udp

USER stubby:stubby

HEALTHCHECK --interval=5s --timeout=3s --start-period=5s CMD drill @127.0.0.1 -p 8053 cloudflare.com || exit 1
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s CMD drill @127.0.0.1 -p 8053 cloudflare.com || exit 1

CMD ["/opt/stubby/bin/stubby", "-C", "/opt/stubby/etc/stubby/stubby.yml"]
2 changes: 1 addition & 1 deletion unbound/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ ENV PATH /opt/unbound/sbin:"$PATH"
EXPOSE 53/tcp
EXPOSE 53/udp

HEALTHCHECK --interval=5s --timeout=3s --start-period=5s CMD drill @127.0.0.1 cloudflare.com || exit 1
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s CMD drill @127.0.0.1 cloudflare.com || exit 1

CMD ["/unbound.sh"]

0 comments on commit 1b3f463

Please sign in to comment.