From 05fa83753b190a42de3ad91ca17e1b66a2c701c2 Mon Sep 17 00:00:00 2001 From: Sean Ezrol Date: Sat, 5 Apr 2025 00:14:22 -0400 Subject: [PATCH] Adds an https condition to the healthcheck --- runtime/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/Dockerfile b/runtime/Dockerfile index 880781be..0596ac49 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -103,7 +103,9 @@ ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/ # # add healthcheck HEALTHCHECK --interval=10s --timeout=5s --retries=8 \ - CMD wget -O - http://localhost:${NEKO_SERVER_BIND#*:}/health || exit 1 + CMD wget -O - http://localhost:${NEKO_BIND#*:}/health || \ + wget --no-check-certificate -O - https://localhost:${NEKO_BIND#*:}/health || \ + exit 1 # # run neko