fix: strip prisma schema from pg health check

This commit is contained in:
hectorzhao
2026-07-07 15:35:28 +08:00
parent 3777ef95e8
commit ad3b86ba0a
+1 -1
View File
@@ -58,6 +58,6 @@ sleep 3
curl -fsS "http://127.0.0.1:${API_PORT:-3000}/api/health" >/dev/null curl -fsS "http://127.0.0.1:${API_PORT:-3000}/api/health" >/dev/null
curl -fsS "http://127.0.0.1:8090/health" >/dev/null curl -fsS "http://127.0.0.1:8090/health" >/dev/null
redis-cli -h "${REDIS_HOST:-127.0.0.1}" -p "${REDIS_PORT:-6379}" ping >/dev/null redis-cli -h "${REDIS_HOST:-127.0.0.1}" -p "${REDIS_PORT:-6379}" ping >/dev/null
pg_isready -d "$DATABASE_URL" >/dev/null pg_isready -d "${DATABASE_URL%%\?*}" >/dev/null
echo "[deploy] Done" echo "[deploy] Done"