Skip to main content
Kodus is open-source and can be self-hosted on your own infrastructure. This gives you control over where your review data lives, which LLM provider reviews use, and how your Git provider reaches Kodus.

Deployment options

Deploy Kodus using Docker Compose on any VM:
  1. Clone the kodus-installer repository
  2. Copy .env.example to .env, generate the keys and fill in your values
  3. Run ./scripts/install.sh
  4. Run ./scripts/doctor.sh to check the stack
  5. Open the web UI, create your admin account, connect an LLM provider (no review runs without a model) and connect your Git provider
The installer starts the web app, the API, the webhooks service, the worker, PostgreSQL, MongoDB and RabbitMQ. Step-by-step instructions are in Deploy with Docker.

Local development

For testing or contributing, use the local quickstart. It runs the whole stack on your machine.

Connecting your Git provider

What you control

  • Data — pull request, suggestion and settings data is stored in your own PostgreSQL and MongoDB
  • LLM provider — use any provider, or a self-hosted model through an OpenAI-compatible endpoint
  • Network — your Git provider must reach the webhooks service (port 3332), and Kodus must reach your Git provider and your LLM provider
  • Configuration — settings live in your .env and in the web app
Each instance sends one anonymous heartbeat per day; see Anonymous Telemetry to inspect or turn it off.

Requirements

  • Docker and Docker Compose
  • Sufficient compute resources for the API and worker services
  • A domain or fixed IP that your Git provider can reach, if it is a cloud provider such as GitHub.com or GitLab.com
  • Network access to your Git provider (GitHub, GitLab, Bitbucket, Azure Repos or Forgejo)
For the full deployment guide, see Deploy with Docker.