Self-Hosting Overview
Run the entire Brainz Lab stack on your own infrastructure. All products are open source.Why Self-Host?
Data Sovereignty
Keep all data on your own servers
Compliance
Meet regulatory requirements
Customization
Modify the code for your needs
No Limits
No usage limits or per-seat pricing
Deployment Options
| Option | Best For | Complexity |
|---|---|---|
| Docker Compose | Small teams, single server | Easy |
| Kubernetes | Large scale, high availability | Advanced |
Architecture
Components
| Component | Description | Port |
|---|---|---|
| Traefik | Reverse proxy with subdomain routing | 80, 8080 |
| Recall | Log ingestion and query | 3001 |
| Reflex | Error capture and management | 3002 |
| Pulse | APM and performance monitoring | 3003 |
| PostgreSQL | Primary database | 5432 |
| Redis | Caching and queues | 6379 |
Requirements
Minimum
- 4 CPU cores
- 8 GB RAM
- 50 GB storage
- Docker 24+ or Kubernetes 1.28+
Recommended
- 8+ CPU cores
- 16+ GB RAM
- 200+ GB SSD storage
- Kubernetes with auto-scaling
Quick Start
One-Line Install
Manual Install
Access Services
| Service | Subdomain | Direct Port |
|---|---|---|
| Recall | http://recall.localhost | http://localhost:3001 |
| Reflex | http://reflex.localhost | http://localhost:3002 |
| Pulse | http://pulse.localhost | http://localhost:3003 |
| Traefik Dashboard | - | http://localhost:8080 |
Docker Compose Guide
Full setup instructions
Docker Images
Images are published to both Docker Hub and GitHub Container Registry:| Service | Docker Hub | GitHub |
|---|---|---|
| Recall | brainzllc/recall | ghcr.io/brainz-lab/recall |
| Reflex | brainzllc/reflex | ghcr.io/brainz-lab/reflex |
| Pulse | brainzllc/pulse | ghcr.io/brainz-lab/pulse |
Source Code
All components are open source:| Repository | Description |
|---|---|
| brainz-lab/stack | Self-hosted deployment |
| brainz-lab/recall | Structured logging |
| brainz-lab/reflex | Error tracking |
| brainz-lab/pulse | APM & performance |
Support
Self-hosting is fully supported:- Community support via GitHub Discussions
- Enterprise support available for paid plans
- All documentation applies to self-hosted instances