From 746b42b72bfdb9079404b77898c2a6a252eaeea1 Mon Sep 17 00:00:00 2001 From: nkogut Date: Sat, 7 Nov 2026 22:28:21 +0000 Subject: [PATCH] Allow staging health checks more time under load --- secure-delivery/v1/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure-delivery/v1/Dockerfile b/secure-delivery/v1/Dockerfile index 921ebb2..a93e6ee 100644 --- a/secure-delivery/v1/Dockerfile +++ b/secure-delivery/v1/Dockerfile @@ -8,5 +8,5 @@ RUN python -m pip uninstall -y pip && rm -rf /usr/local/lib/python3.13/ensurepip COPY app.py . USER 10001:10001 EXPOSE 8000 -HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=3 CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=2)" +HEALTHCHECK --interval=10s --timeout=10s --start-period=10s --retries=3 CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=8)" CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "1", "--worker-tmp-dir", "/tmp", "app:app"] -- 2.54.0