From 255ccebf2952d1e61b3e4e73e79714783a38e955 Mon Sep 17 00:00:00 2001 From: anti Date: Sun, 10 May 2026 01:51:09 -0400 Subject: [PATCH] fix(entrypoint): fail-fast if Flask does not bind within timeout instead of silently starting Caddy with no backend --- decnet/templates/http/entrypoint.sh | 11 +++++++---- decnet/templates/https/entrypoint.sh | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/decnet/templates/http/entrypoint.sh b/decnet/templates/http/entrypoint.sh index c1705a11..aba79672 100644 --- a/decnet/templates/http/entrypoint.sh +++ b/decnet/templates/http/entrypoint.sh @@ -33,17 +33,20 @@ cat > /etc/caddy/Caddyfile </dev/null; exit 1; } exec caddy run --config /etc/caddy/Caddyfile diff --git a/decnet/templates/https/entrypoint.sh b/decnet/templates/https/entrypoint.sh index 4f8ba0cc..64e4a877 100644 --- a/decnet/templates/https/entrypoint.sh +++ b/decnet/templates/https/entrypoint.sh @@ -68,17 +68,20 @@ cat > /etc/caddy/Caddyfile </dev/null; exit 1; } exec caddy run --config /etc/caddy/Caddyfile