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

ServicePortImage
Postgres 175432postgres:17-alpine
API (v5d)8080apps/api/Dockerfile
Web (dashboard + marketing)3000apps/web/Dockerfile
Docs (this site)3001apps/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 dev

This 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