OrcAI
Self Hosting

Self Hosting

Run OrcAI with Docker Compose or a manually managed service stack.

OrcAI can be run as a local Docker Compose stack or as manually managed Bun app and worker processes connected to external services.

For most self-hosting experiments, start with Docker Compose quickstart. Use manual setup when you need to manage PostgreSQL, Valkey, Qdrant, SpiceDB, S3-compatible storage, and workers yourself.

Not production hardened

These pages document what the repository can run today. They are not yet a complete production operations guide.

Choose A Path

Required Infrastructure

  • PostgreSQL
  • Valkey
  • S3-compatible object storage
  • Qdrant
  • SpiceDB
  • An OpenAI-compatible inference endpoint
  • Background workers

Model Configuration Scope

Custom embedding and image-processing model definitions are supported only when you self-host OrcAI.

In managed/shared deployments, treat these as platform-level settings controlled by the hosting operator.

Important Caveats

  • OrcAI is not production-ready yet.
  • docker-compose.local.yaml is a development-oriented override, not a production deployment manifest.
  • AI model, embedding model, and embedding dimensions must be configured before useful content ingestion can work.
  • Changing embedding settings on an existing deployment requires recreating the Qdrant collection and reprocessing assets.

Source Files

  • .env.example
  • docker-compose.yaml
  • docker-compose.local.yaml
  • packages/ai/src/config.ts
  • packages/db/src/config.ts
  • packages/notifications/src/config.ts
  • packages/qdrant/src/config.ts
  • packages/s3/src/server/config.ts
  • packages/spice-db/src/config.ts
  • packages/valkey/src/config.ts

On this page