This commit is contained in:
parent
55b6591356
commit
08b4f80e21
|
|
@ -34,8 +34,8 @@ export SUPABASE_SERVICE_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdX
|
|||
|
||||
# --- 等待 postgrest (通过 Kong proxy) 可访问 ---
|
||||
echo "[kong] Waiting for PostgREST to be reachable via Kong..."
|
||||
until curl -s -H "apikey: $SUPABASE_ANON_KEY" http://localhost:8000/rest/v1/ >/dev/null; do
|
||||
echo "Waiting for API /rest/v1/ ..."
|
||||
until curl -s http://localhost:3000/ >/dev/null; do
|
||||
echo "[kong] Still waiting for PostgREST..."
|
||||
sleep 1
|
||||
done
|
||||
echo "[kong] PostgREST is reachable. Starting Kong..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue