From 6664f24f20765c05c91e8b8fe6201033a9095e63 Mon Sep 17 00:00:00 2001 From: IK Date: Fri, 11 Sep 2026 07:48:05 +0700 Subject: [PATCH] fix: invoke Caddy adapter correctly in bootstrap --- deploy/test-production-bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/test-production-bootstrap.sh b/deploy/test-production-bootstrap.sh index 2c8e9b2..b1fd17c 100755 --- a/deploy/test-production-bootstrap.sh +++ b/deploy/test-production-bootstrap.sh @@ -29,7 +29,7 @@ curl -fsS -D - -o /dev/null "http://127.0.0.1:$BOOTSTRAP_API_PORT/health" | grep # A10: Validate Caddy configuration without running the proxy echo "Validating Caddy configuration..." -docker compose --env-file .env.production.example -f compose.production.yaml -f deploy/compose.bootstrap.yaml run --rm --no-deps --entrypoint "caddy adapt --config /etc/caddy/Caddyfile --pretty" proxy >/dev/null 2>&1 || { +docker compose --env-file .env.production.example -f compose.production.yaml -f deploy/compose.bootstrap.yaml run --rm --no-deps --entrypoint caddy proxy adapt --config /etc/caddy/Caddyfile --pretty >/dev/null 2>&1 || { echo "ERROR: Caddy configuration is invalid" >&2 exit 1 }