From 1b3f463d89f0ce688285cd0cd333bfc30eafcfe8 Mon Sep 17 00:00:00 2001 From: Matthew Vance Date: Fri, 2 Jul 2021 21:11:10 -0500 Subject: [PATCH] Revise healthchecks --- stubby/Dockerfile | 2 +- unbound/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stubby/Dockerfile b/stubby/Dockerfile index 71d3cf5..8e2b1e1 100644 --- a/stubby/Dockerfile +++ b/stubby/Dockerfile @@ -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"] diff --git a/unbound/Dockerfile b/unbound/Dockerfile index 340c5bb..affff02 100644 --- a/unbound/Dockerfile +++ b/unbound/Dockerfile @@ -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"]