Kedvo — Next.js on Google Cloud Run
A modern, containerized architecture for private, high-performance AI workflows. Kedvo runs your Next.js app as a lightweight container on Google Cloud Run — giving you instant SSR, predictable scaling, and full control over runtime environment and dependencies.
Modern deployment stack
Containerized
Built as a standalone Node container for Cloud Run.
Secure Auth
Firebase Authentication for user identity and sessions.
Fast SSR
Server-side rendering with minimal client overhead.
Scalable
Automatic, per-request scaling on Cloud Run.
How it fits together
Kedvo compiles Next.js into a production-ready standalone app, packages it into a container, and deploys it to Google Cloud Run. Optionally, Firebase Hosting can act as a proxy or provide static hosting. This gives you the best of both worlds: a modern SSR experience with the operational simplicity of serverless containers.
gcloud builds submit --tag gcr.io/<PROJECT>/kedvo && gcloud run deploy kedvo
Database
Kedvo uses PostgreSQL for relational storage. In production we recommend a managed Postgres instance (for example Cloud SQL on GCP) and running migrations from your CI/CD pipeline.
Migrations live in the prisma/migrations folder as SQL files. To apply migrations locally or in CI, use the included scripts/setup-db.sh helper or run psql against your `DATABASE_URL`.
./scripts/setup-db.sh