Adds an https condition to the healthcheck (#503)

* Adds an https condition to the healthcheck

* Fix V2 to V3 naming change

* Update other dockerfiles
This commit is contained in:
Sean Ezrol
2025-04-06 17:33:52 -04:00
committed by GitHub
parent 4eec843ed2
commit 2ec35d9d0c
5 changed files with 15 additions and 7 deletions
+3 -1
View File
@@ -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_SERVER_BIND#*:}/health || \
wget --no-check-certificate -O - https://localhost:${NEKO_SERVER_BIND#*:}/health || \
exit 1
#
# run neko