Overview
Kodus runs as a set of containers: a web app, an API, a worker that runs reviews, a webhooks receiver, and three data stores (PostgreSQL, MongoDB and RabbitMQ). The same images run on Docker Compose and on Kubernetes.Services
Images are published as
ghcr.io/kodustech/<image>. The five application images share one version tag per release; the RabbitMQ image (kodus-rabbitmq) has its own.
The worker is the only service that runs reviews, so it needs outbound access to your Git provider and your LLM provider. It parses repositories in a sandbox; see Sandbox & AST Graph.
Health endpoints
How a review starts
- The Git provider calls the webhooks service. It checks the event and records a job and an outbox message in PostgreSQL, in one transaction.
- The worker relays the outbox message to RabbitMQ, so an event is not lost if the broker is briefly unavailable.
- The worker consumes the job from RabbitMQ, loads the pull request, runs the review with your LLM provider and posts the result on the pull request.
workflow.jobs.* queues on its first connection. If it has never started, for example because WORKER_ROLE is unset, webhooks and the API fail with QueueBind 404 errors.
Data stores
- PostgreSQL (with the pgvector extension): application data, workflow jobs and the outbox, the AST graph of each repository, and the schemas of the MCP Manager and the analytics warehouse.
- MongoDB: pull request and review data, Kody Rules and sandbox leases.
- RabbitMQ: the job queues the worker publishes to and consumes from. The Kodus RabbitMQ image ships the delayed message exchange plugin and creates the
kodus-aiandkodus-astvirtual hosts. If you bring your own broker, enable therabbitmq_delayed_message_exchangeplugin, create both virtual hosts and setconsumer_timeout = 7200000.
Networks
The installer creates three external Docker networks:shared-network: web, api, worker, webhooks, MCP Manager and RabbitMQ.kodus-backend-services: every Kodus service plus PostgreSQL and MongoDB.monitoring-network: RabbitMQ only.
kodus-backend-services only. RabbitMQ exposes Prometheus metrics on port 15692; Kodus does not ship Prometheus or Grafana.
Enterprise features
A license key unlocks the Enterprise features on a self-hosted instance. SetKODUS_LICENSE_KEY in .env, or paste the key on the Subscription page. Cockpit analytics and SSO need it.
Next Steps
Run Kodus Locally
Ideal for local development and getting familiar with the full Kodus stack.
Deploy Kodus to Production
Perfect for production deployment and experiencing the full capabilities of Kodus.