Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,2 +1,20 @@
|
||||
#!/bin/sh
|
||||
# Web entrypoint. Migrations and the production seed run here (env-gated)
|
||||
# because Coolify's pre/post_deployment_command never fired for
|
||||
# docker-image applications, and a pre-deploy hook would execute inside
|
||||
# the OLD container without the new migration files anyway.
|
||||
# A failed migrate or seed aborts the boot (set -e), so the deploy
|
||||
# health gate turns red instead of shipping a stale schema silently.
|
||||
set -e
|
||||
|
||||
if [ "$MIGRATE_ON_BOOT" = "true" ]; then
|
||||
echo "[boot] prisma migrate deploy"
|
||||
pnpm exec prisma migrate deploy --config prisma.config.ts
|
||||
fi
|
||||
|
||||
if [ "$SEED_ON_BOOT" = "true" ]; then
|
||||
echo "[boot] production seed"
|
||||
node packages/db/dist/production-seed.server.js
|
||||
fi
|
||||
|
||||
exec node build/server-runtime/server.js
|
||||
Reference in new issue
Block a user