This commit is contained in:
parent
ee1f7782f1
commit
b493d2768c
|
|
@ -13,8 +13,9 @@ export FILE_STORAGE_BACKEND_PATH="/var/lib/storage"
|
||||||
export DB_INSTALL_ROLES="false"
|
export DB_INSTALL_ROLES="false"
|
||||||
|
|
||||||
# 等待 gotrue 服务可用(健康检查)
|
# 等待 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 at /user..."
|
||||||
echo "[storage-api] Waiting for gotrue..."
|
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
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue