Files
codeboard/apps/web/next.config.mjs
Vectry 30bfd88075 feat: add PostgreSQL persistence for permanent shareable links
- Add PostgreSQL service to docker-compose with health checks
- Add migrate service that runs prisma migrate deploy on startup
- Integrate Prisma client in worker: checks for existing generations
  (same repo+commit) before regenerating, writes to Postgres on completion
- Update /api/docs/[id] with Redis → PostgreSQL fallback + cache repopulation
- Update Dockerfile: prisma generate in build, copy Prisma engine to worker/web
- Add @codeboard/database dependency to web and worker packages
- Add initial SQL migration for Generation and User tables
- Change removeOnComplete to { age: 3600 } for job retention
2026-02-09 20:23:41 +00:00

8 lines
176 B
JavaScript

/** @type {import('next').NextConfig} */
const config = {
transpilePackages: ["@codeboard/shared", "@codeboard/database"],
output: "standalone",
};
export default config;