Documentation

ContextBay is a self-hosted homelab management platform — one master container plus N worker images, with Portainer underneath and a fleet of cb-* sub-containers handling metrics, logs, traces, alerts, workflows, and security. Pick a starting point below.

New here?

Read Quickstart first — it walks you from git clone to a fully fused worker in about ten minutes. Then dip into Architecture for the three-circle mental model. Everything else is a reference you'll come back to as you go.

All pages

Prerequisites at a glance

RequirementMinimumRecommended
CPU1 core2+ cores
RAM256 MB512 MB+
Disk100 MB1 GB+
Docker20.10+Latest stable
Go (build from source only)1.26+Latest
Node.js (build from source only)20+Latest LTS

Supported platforms: Linux amd64/arm64, macOS amd64/arm64. Windows via WSL2.

Modules at a glance

ContextBay is modular. Most modules are on by default; flip any to false in [modules] to remove its API routes, sidebar entries, and background services.

ModuleDefaultDescription
monitoringonMetrics collection, Grafana, Prometheus, custom dashboards
alertingonAlert rules, Alertmanager routing, notification channels
workflowsonn8n integration (auto-bootstrapped admin + API key)
knowledgeonMarkdown vault, RAG search via Ollama embeddings, graph
aionTiered router: Ollama for cheap classify, Claude Code for reasoning
securityonWazuh SIEM, FIM, vulnerability scanning, secret scanning
discordoffDiscord bot (requires bot token)
backupsonVolume backup scheduling
proxy_routesonReverse-proxy routes managed in CB (per-route auth, TLS)
webhooksonOutbound webhook targets fed by the event bus
catalogonApp deployment templates
terminalonWeb terminal (admin-only)
topologyonCluster topology graph
planneronProject planner: Kanban, Gantt, sprints, velocity

Where the source lives

The repo at github.com/contextbay/contextbay is a passive code mirror. Issues, sprints, and the roadmap live in the in-product Project Planner (/planner), not on GitHub. CB does not depend on any GitHub services beyond hosting the source mirror.