Fix: Disable using proxies in Docker HEALTHCHECK (#6930)

This commit is contained in:
Bytenka
2026-08-03 01:26:15 +02:00
committed by GitHub
parent 8c61c6e5b0
commit a8f03936da
+1 -1
View File
@@ -59,7 +59,7 @@ ENV PORT=3000
EXPOSE $PORT EXPOSE $PORT
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \ HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:$PORT/api/healthcheck || exit 1 CMD wget --no-verbose --tries=1 --spider -Y off http://127.0.0.1:$PORT/api/healthcheck || exit 1
ENTRYPOINT ["docker-entrypoint.sh"] ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["node", "server.js"] CMD ["node", "server.js"]