Ревью-фиксы: DoS chart-XML, корректность вывода, auth-обход, стандарты OOXML в docs/ #36
@@ -265,7 +265,7 @@ jobs:
|
||||
image: $REGISTRY/wordpdf-web:prod
|
||||
restart: on-failure:5
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "http_proxy= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1"]
|
||||
test: ["CMD-SHELL", "HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
start_period: 10s
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ services:
|
||||
restart: unless-stopped
|
||||
# См. комментарий у app: дубль HEALTHCHECK из wordpdf-web/Containerfile
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "http_proxy= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1"]
|
||||
test: ["CMD-SHELL", "HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
start_period: 10s
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ services:
|
||||
restart: unless-stopped
|
||||
# См. комментарий у app: дубль HEALTHCHECK из wordpdf-web/Containerfile
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "http_proxy= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1"]
|
||||
test: ["CMD-SHELL", "HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= wget -qO /dev/null http://127.0.0.1/ || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
start_period: 10s
|
||||
|
||||
@@ -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