mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-28 09:56:20 +02:00
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:
parent
4eec843ed2
commit
2ec35d9d0c
5 changed files with 15 additions and 7 deletions
|
@ -103,7 +103,9 @@ ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
||||||
#
|
#
|
||||||
# add healthcheck
|
# add healthcheck
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
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
|
# run neko
|
||||||
|
|
|
@ -95,8 +95,9 @@ ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
||||||
#
|
#
|
||||||
# add healthcheck
|
# add healthcheck
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
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
|
# run neko
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/neko/supervisord.conf"]
|
CMD ["/usr/bin/supervisord", "-c", "/etc/neko/supervisord.conf"]
|
||||||
|
|
|
@ -115,8 +115,9 @@ ENV RENDER_GID=
|
||||||
#
|
#
|
||||||
# add healthcheck
|
# add healthcheck
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
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
|
# run neko
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/neko/supervisord.conf"]
|
CMD ["/usr/bin/supervisord", "-c", "/etc/neko/supervisord.conf"]
|
||||||
|
|
|
@ -262,7 +262,9 @@ COPY --from=gstreamer /usr/share/gstreamer /usr/share/gstreamer
|
||||||
#
|
#
|
||||||
# add healthcheck
|
# add healthcheck
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
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
|
# run neko
|
||||||
|
|
|
@ -254,7 +254,9 @@ COPY --from=gstreamer /usr/share/gstreamer /usr/share/gstreamer
|
||||||
#
|
#
|
||||||
# add healthcheck
|
# add healthcheck
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
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
|
# run neko
|
||||||
|
|
Loading…
Add table
Reference in a new issue