Blog
Next.js 15 guides for self-hosted AI SaaS: Docker, Caddy, Auth.js, Stripe, LangGraph, pgvector, and Hetzner cost.
21 posts · page 2 of 4
28 Oct 2026 · Postgres & pgvector
Prisma with pgvector, Raw SQL Casting and Safe Migrations
Prisma still has no first-class vector column. How to enable pgvector, store embeddings, and run cosine similarity without breaking migrate.
Read28 Oct 2026 · Postgres & pgvector
Production RAG in PostgreSQL, pgvector vs Pinecone and Qdrant
When a vector column next to Auth.js is enough, what managed vector DBs actually cost, and how Next.js 15 talks to pgvector through Prisma.
Read28 Oct 2026 · Auth & Stripe
Designing a Shared Team Credit Pool for AI Workspaces in Next.js 15
Deduct LLM usage from an organization balance instead of a personal counter, with Prisma, Stripe seats, and a debit that survives retries.
Read28 Oct 2026 · Hardening & Ops
Prometheus and Grafana for Next.js 15, Tracking LLM Token Burn
How to expose prom-client metrics from a Next.js Route Handler, scrape them in Docker Compose, and graph token count and USD cost without a SaaS APM.
Read28 Oct 2026 · Postgres & pgvector
Document Ingestion in Next.js 15, Chunking, Tokens, and Async Embeddings
Why you should not embed a PDF inside the upload request, how to chunk by tokens, and how to batch embeddings into pgvector without dying on rate limits.
Read28 Oct 2026 · Docker & Infra
Preventing next build OOM and SIGKILL on 2GB and 4GB VPS Instances
Why next build dies with SIGKILL on Hetzner CX22 and CX23, how swap and NODE_OPTIONS actually help, and when to stop building on the VPS.
Read
