Use external DB/Redis in compose and preserve auth session across rebuilds

This commit is contained in:
Ruslan Bakiev
2026-02-19 17:01:00 +07:00
parent f6fd11b3c4
commit a25049989c
4 changed files with 37 additions and 44 deletions

View File

@@ -37,6 +37,8 @@ done
npx prisma db push
node prisma/seed.mjs
if [ "${CF_RUN_SEED_ON_START:-0}" = "1" ]; then
node prisma/seed.mjs
fi
exec npm run dev -- --host 0.0.0.0 --port 3000