From 3a6b94c1eb864e6502a364468ed56358bfd1ba68 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Fri, 10 Apr 2026 08:54:37 +0200 Subject: [PATCH] fix: remove server health wait from bootstrap (no compose server) Bootstrap was stuck waiting for cameleer3-server which no longer exists in docker-compose. Removed server wait loop and SERVER_ENDPOINT config. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/logto-bootstrap.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/docker/logto-bootstrap.sh b/docker/logto-bootstrap.sh index 18b005d..86cff8c 100644 --- a/docker/logto-bootstrap.sh +++ b/docker/logto-bootstrap.sh @@ -41,10 +41,7 @@ VENDOR_USER="${VENDOR_USER:-vendor}" VENDOR_PASS="${VENDOR_PASS:-vendor}" VENDOR_NAME="${VENDOR_NAME:-SaaS Vendor}" -# Server config -SERVER_ENDPOINT="${SERVER_ENDPOINT:-http://cameleer3-server:8081}" -SERVER_UI_USER="${SERVER_UI_USER:-admin}" -SERVER_UI_PASS="${SERVER_UI_PASS:-admin}" +# No server config — servers are provisioned dynamically by the vendor console # Redirect URIs (derived from PUBLIC_HOST and PUBLIC_PROTOCOL) HOST="${PUBLIC_HOST:-localhost}" @@ -86,15 +83,7 @@ for i in $(seq 1 60); do sleep 1 done -log "Waiting for cameleer3-server..." -for i in $(seq 1 60); do - if curl -sf "${SERVER_ENDPOINT}/api/v1/health" >/dev/null 2>&1; then - log "cameleer3-server is ready." - break - fi - [ "$i" -eq 60 ] && { log "WARNING: cameleer3-server not ready after 60s — skipping OIDC config"; } - sleep 1 -done +# No server wait — servers are provisioned dynamically by the vendor console # ============================================================ # PHASE 2: Get Management API token