Skip to content

Installation

Running with Docker Compose

bash
curl -O https://raw.githubusercontent.com/kumbukum/kumbukum/main/compose.prod.yml

APP_URL=https://your-instance.com \
SESSION_SECRET=your-session-secret \
JWT_SECRET=your-jwt-secret \
TYPESENSE_API_KEY=your-typesense-key \
SMTP_HOST=smtp.example.com \
SMTP_USER=you@example.com \
SMTP_PASS=your-smtp-password \
SMTP_FROM=noreply@example.com \
GOOGLE_API_KEY=your-google-api-key \
docker compose -f compose.prod.yml up -d

The app will be available at your configured APP_URL.

Services

ServicePortDescription
App3000Main Express application
WebSocket3001Real-time updates
MCP Server3002Model Context Protocol server
MongoDB27017Database
Redis6379Caching & pub/sub
Typesense8108Full-text & vector search

Environment Variables

See Configuration for the full list. Key variables:

VariableDescription
MONGO_URIMongoDB connection string
REDIS_URLRedis connection string
SESSION_SECRETExpress session secret
JWT_SECRETJWT signing secret
APP_URLPublic URL of the application
TYPESENSE_API_KEYTypesense API key
GOOGLE_API_KEYGoogle AI API key
OPENAI_API_KEYOpenAI API key

Local Development

bash
pnpm install
pnpm dev

This starts the app with nodemon for auto-reload on file changes.

Building Assets

bash
pnpm build

Builds frontend assets (vendor.js, vendor.css, editor.js, graph_bundle.js) with esbuild.