This commit is contained in:
hailin 2025-05-19 12:48:49 +08:00
parent ee1f7782f1
commit b493d2768c
1 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,9 @@ export FILE_STORAGE_BACKEND_PATH="/var/lib/storage"
export DB_INSTALL_ROLES="false"
# 等待 gotrue 服务可用(健康检查)
until curl -s -o /dev/null -w "%{http_code}" http://localhost:9999/ | grep -qE "^(200|401|403)$"; do
echo "[storage-api] Waiting for gotrue..."
echo "[storage-api] Waiting for GoTrue at /user..."
until curl -s -o /dev/null -w "%{http_code}" http://localhost:9999/user | grep -qE "^(200|401|403)$"; do
echo "[storage-api] Still waiting for GoTrue..."
sleep 2
done