feat(17-01): enable standalone output, limit DB pool to 5, remove @vercel/blob

- Add output: 'standalone' to next.config.ts for Docker three-stage build
- Change postgres(url) to postgres(url, { max: 5 }) to avoid Neon free tier exhaustion
- Remove dead @vercel/blob dependency (imported nowhere in codebase)
This commit is contained in:
Chandler Copeland
2026-04-03 16:53:18 -06:00
parent 62a216fccf
commit fa7d6a9636
4 changed files with 2 additions and 87 deletions

View File

@@ -9,7 +9,7 @@ function createDb() {
if (!url) {
throw new Error("DATABASE_URL environment variable is not set");
}
const client = postgres(url);
const client = postgres(url, { max: 5 });
return drizzle({ client, schema });
}