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 }