Docs/Decisions/ADR-0004 Hosted Container Runtime

ADR-0004: Container runtime for the original hosted deployment

Status
superseded for self-hosting
Decided
September 2026 (hosted deployment)
Applies to this repository
No. This repository ships Docker Compose (deploy/compose) and Helm (deploy/helm); see the Deployment Guide.

Context

Before the code was open-sourced, the maintainers ran one hosted instance of the platform on a managed container service (Azure Container Apps) with managed PostgreSQL and Redis, plus one VM for the workloads that service could not host. That runtime choice, and the infrastructure code for it, are not part of what this repository supports.

Decision (historical)

The hosted deployment ran the stateless request-path services on the managed container platform and kept on a VM the services that need what such platforms usually do not offer. Those constraints are properties of the services, so they still matter to anyone choosing a runtime:

ServiceNeeds
redpandaA block-device volume that supports O_DIRECT (XFS/ext4); network file shares such as SMB do not work.
livekitRaw UDP 50000-50100 and TCP 7881 reachable from callers.
tool-sandbox, code-intel-dockerLinux capabilities or privileged containers (see ADR-0009).
mcp-stdio-runnerPlain internal TCP between core and the runner, with keepalive (idle flows through cloud NAT or load balancers may be dropped silently).

What applies to self-hosters

Evidence & references