mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-28 18:06:20 +02:00
Adds an https condition to the healthcheck
This commit is contained in:
parent
936794da31
commit
05fa83753b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue