Org in a Box
Deployment

Deployment Overview

What deployment paths are supported today and what is still preview.

Supported today: local Docker Compose is the primary, demo-ready deployment path in this checkout. The hosted split is now: application surfaces on Azure Container Apps, public docs on Vercel. The Azure path is still preview-grade until it is exercised end to end in a real environment.

Deployment Targets

TargetGuideBest For
Docker ComposeSupported todayLocal demo, self-hosted, private cloud, on-premises
Azure Container AppsPreviewInfrastructure iteration, hosted app rollout, future managed SaaS deployment
Vercel (packages/docs)Supported todayPublic docs site, branch previews, lightweight static/content deployment

What Runs Today

ServiceImagePurpose
orginabox-apiorginabox-core:<git-sha>Hono REST API on port 8787
orginabox-workerorginabox-core:<git-sha>Job drainer (same image, different CMD)
orginabox-sandboxorginabox-sandbox:<git-sha>opencode runtime + noVNC
orginabox-weborginabox-web:<git-sha>Next.js dashboard on port 3000
orginabox-platform-weborginabox-platform-web:<git-sha>Platform admin app on port 3002
orginabox-tenant-weborginabox-tenant-web:<git-sha>Tenant admin app on port 3003
orginabox-docsVercel project rooted at packages/docsPublic docs site and preview deployments
postgrespgvector/pgvector:pg16Database (managed by Azure in prod)

What Azure Provisions Today

  • api, worker, sandbox, web, platform-web, and tenant-web Container Apps
  • Azure PostgreSQL, Key Vault, Log Analytics, and ACR
  • a shared runtime Azure Files volume mounted into the API, worker, and sandbox
  • build-once CI that publishes unique image tags, smoke-tests those exact images, deploys Azure staging on main, and lets prod promote the same tag manually
  • a docs URL contract (ORGINABOX_DOCS_URL) so the main web app links to the Vercel-hosted docs site instead of an Azure docs container

What Azure Does Not Yet Provision

  • The multi-sandbox pool topology described in longer-term architecture notes
  • A live-validated Azure demo path from this checkout alone; you still need real secrets, domains, and a first deployment pass

Vercel Docs Notes

  • The public docs site is a separate Vercel project rooted at packages/docs.
  • The effective Vercel project config lives in packages/docs/vercel.json for the docs app itself.
  • The repo-root vercel.json is intentionally minimal; it exists for schema validation and future monorepo-level Vercel metadata, not as the authoritative docs deployment config.
  • In the Vercel dashboard, set:
    • Framework Preset: Next.js
    • Root Directory: packages/docs
    • Include files outside the Root Directory in the Build Step: Disabled
    • Skip deployments when there are no changes to the root directory and its dependencies: Enabled

Pre-deployment Checklist

See the Environment Checklist for a complete list of required environment variables per deployment target.

On this page