fix: strip prisma schema from pg health check
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user