We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 248984b commit 2057295Copy full SHA for 2057295
applications/accounts/scripts/kc-entrypoint.sh
@@ -7,12 +7,10 @@ API_PASSWORD=$(cat /opt/cloudharness/resources/auth/api_user_password 2>/dev/nul
7
8
echo "Waiting for Keycloak to start..."
9
10
-# Wait for Keycloak to be ready
11
-until curl -sf http://localhost:8080/health/ready > /dev/null 2>&1; do
12
- sleep 2s
13
-done
+# Wait for Keycloak to be ready - just give it some time to start up
+sleep 120s
14
15
-echo "Keycloak is ready. Attempting authentication..."
+echo "Attempting authentication..."
16
17
# First, try to authenticate as admin_api
18
if [ -n "$API_PASSWORD" ] && /opt/keycloak/bin/kcadm.sh config credentials \
0 commit comments