mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Decrease POSTGRES_DELAY_MS
This commit is contained in:
parent
4554112241
commit
b93131f9ff
@ -20,7 +20,7 @@
|
||||
"wait-until-postgres-is-ready:pg_isready": "until pg_isready -h localhost -p 5432; do sleep 1; done",
|
||||
"wait-until-postgres-is-ready": "command -v pg_isready >/dev/null 2>&1 && pnpm run wait-until-postgres-is-ready:pg_isready || sleep 10 # not everyone has pg_isready installed, so we fallback to sleeping",
|
||||
"start-deps:no-delay": "pnpm run deps-compose up --detach --build && pnpm run wait-until-postgres-is-ready && pnpm run init-db && echo \"\\nDependencies started in the background as Docker containers. 'pnpm run stop-deps' to stop them\"n",
|
||||
"start-deps": "POSTGRES_DELAY_MS=${POSTGRES_DELAY_MS:-20} pnpm run start-deps:no-delay",
|
||||
"start-deps": "POSTGRES_DELAY_MS=${POSTGRES_DELAY_MS:-10} pnpm run start-deps:no-delay",
|
||||
"restart-deps": "pnpm run stop-deps && pnpm run start-deps",
|
||||
"restart-deps:no-delay": "pnpm run stop-deps && pnpm run start-deps:no-delay",
|
||||
"psql": "only-allow pnpm && pnpm run --filter=@stackframe/stack-backend psql",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user