Skip to content

Requirements

Zori is designed to be self-hosted on your own infrastructure. Here’s what you need.

  • CPU: 2 cores
  • RAM: 4GB
  • Storage: 20GB SSD
  • OS: Linux (Ubuntu 22.04+, Debian 11+), macOS, or Windows with WSL2
  • CPU: 4+ cores
  • RAM: 8GB+
  • Storage: 100GB+ SSD (scales with event volume)
  • OS: Linux (Ubuntu 22.04+ recommended)
ServiceVersionPurpose
PostgreSQL15+User data, projects, payment providers
ClickHouse24+Event storage, analytics queries
Redis7+Caching, rate limiting
NATSLatestMessage queue for event processing
ToolVersionNotes
Go1.24+Backend compilation
TaskLatestTask runner (like Make)
gooseLatestDatabase migrations
ToolVersion
Docker20.10+
Docker Compose2.0+
PortServiceDescription
1323API ServerMain API endpoints
1324Ingestion ServerEvent ingestion endpoint
5432PostgreSQLDatabase (internal)
9000ClickHouseNative protocol (internal)
8123ClickHouseHTTP interface (internal)
6379RedisCache (internal)
4222NATSMessage queue (internal)
  • Ingestion endpoint must be accessible from your users’ browsers
  • API endpoint for your dashboard
  • Webhook endpoint for Stripe callbacks
┌──────────┐ ┌──────────┐
│ browser │────▶│ingestion │──┐
└──────────┘ └──────────┘ │
┌──────────┐ ┌──────────┐ NATS
│ stripe │────▶│ api srv │◀─┘
└──────────┘ └──────────┘
┌──────────────┼──────────────┐
▼ ▼ ▼
┌─────────┐ ┌──────────┐ ┌─────────┐
│postgres │ │clickhouse│ │ redis │
└─────────┘ └──────────┘ └─────────┘
(who you) (what did) (cache)