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 -2
View File
@@ -115,8 +115,9 @@ ENV RENDER_GID=
#
# 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
CMD ["/usr/bin/supervisord", "-c", "/etc/neko/supervisord.conf"]