Self-host
Self-hosting
A Go binary, a Next.js app, and Postgres. docker compose up --build runs all three.
Vector 5 is designed to be operated by one compose file. Rollups run inside the API process; there are no extra workers.
Ports
| Service | Port | Image |
|---|---|---|
| Postgres 17 | 5432 | postgres:17-alpine |
API (v5d) | 8080 | apps/api/Dockerfile |
| Web (dashboard + marketing) | 3000 | apps/web/Dockerfile |
| Docs (this site) | 3001 | apps/docs — deploy separately to docs.vector5.ai |
Run pieces locally
terminal
docker compose up postgres -d
cd apps/api && go run ./cmd/v5d
pnpm --filter @vector5/web dev
pnpm --filter @vector5/docs devThis docs app
apps/docs is a standalone Next.js app. Host it on docs.vector5.ai. The marketing site already points there. Set NEXT_PUBLIC_SITE_URL=https://docs.vector5.ai so Open Graph and sitemap URLs are correct.
Something off? Open an issue · Edit on GitHub

