Web healthcheck: обнуление всех четырёх прокси-переменных (Containerfile, compose, workflow)

This commit is contained in:
Pjandro
2026-10-24 21:42:50 +00:00
parent f4b92f2140
commit 05c8cd33d8
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,4 +19,4 @@ FROM docker.io/library/nginx:alpine
COPY --from=build /build/dist /usr/share/nginx/html
# прокси-переменные хоста подмешиваются в HEALTHCHECK-шелл — обнуляем на команде
HEALTHCHECK --interval=10s --timeout=3s --start-period=10s \
CMD http_proxy= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1
CMD HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1