Adds an https condition to the healthcheck

This commit is contained in:
Sean Ezrol 2025-04-05 00:14:22 -04:00 committed by GitHub
parent 936794da31
commit 05fa83753b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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_BIND#*:}/health || \
wget --no-check-certificate -O - https://localhost:${NEKO_BIND#*:}/health || \
exit 1
#
# run neko