Web healthcheck: обнуление всех четырёх прокси-переменных (Containerfile, compose, workflow)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user