Skip to content

Self-Hosting with Docker

brūhi is 100% containerized. Our official images are built on Alpine Linux for a minimal 45MB footprint.

Terminal window
curl -sSL https://bruhi.in/install.sh | bash

The install script will:

  1. Detect your CPU architecture (ARM64 / x86_64)
  2. Verify Docker and Docker Compose are installed
  3. Pull the latest verified image from GHCR
  4. Initialize the config directory at /etc/bruhi/
docker-compose.yml
version: "3.9"
services:
bruhi-engine:
image: ghcr.io/bruhi/engine:latest
ports:
- "8080:8080" # REST API
- "50051:50051" # gRPC
- "9000:9000" # SRT ingest
volumes:
- ./config:/etc/bruhi
- bruhi-data:/var/lib/bruhi
environment:
BRUHI_LOG_LEVEL: info
BRUHI_DB_URL: postgres://bruhi:secret@db:5432/bruhi
depends_on:
- db
- redis
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: bruhi
POSTGRES_PASSWORD: secret
POSTGRES_DB: bruhi
volumes:
- pg-data:/var/lib/postgresql/data
redis:
image: redis:7-alpine
command: redis-server --appendonly yes
volumes:
bruhi-data:
pg-data:
Terminal window
docker compose up -d
ProviderServiceStatus
AWSEC2, ECS, EKS✅ Verified
Google CloudGCE, GKE✅ Verified
DigitalOceanDroplets, K8s✅ Verified
HetznerCloud, Dedicated✅ Community tested