Everything Railway publishes
R

Railway

Deploy & Host kodus-selfhosted | Railway

/deploy/kodus-selfhosted--kodus-selfhosted

other
Words
353
Reading time
2 min
Published
2026-02-25
Last crawled
2026-08-27
Language
EN
railway.com/deploy/kodus-selfhosted--kodus-selfhosted.md
Deploy & Host kodus-selfhosted | Railway
Railway · 2026-02-25

Kodus AI self-hosted on Railway with API, Web, Worker, and webhooks.

Deploy kodus-selfhosted

Just deployed

Just deployed

Just deployed

Just deployed

Just deployed

Just deployed

Just deployed

Just deployed

Deploy and Host kodus-selfhosted on Railway

kodus-selfhosted is the self-hosted version of Kodus AI, an automated code review platform for engineering teams. It ships as a multi-service stack with Web, API, Worker, and Webhook services, backed by PostgreSQL (pgvector), MongoDB, and RabbitMQ. Teams can run Kodus in private infrastructure with their own keys and integrations.

About Hosting kodus-selfhosted

Hosting kodus-selfhosted involves deploying application services and data services that communicate over private networking. The Web service provides the UI, the API handles business logic, Webhooks ingest SCM events, and the Worker processes asynchronous jobs through RabbitMQ. PostgreSQL stores transactional and vector-backed data, while MongoDB supports document workloads. In Railway, you expose only the services that need public access (typically Web, API, and Webhooks), then wire internal URLs via service references. You configure required secrets, auth/session settings, and optional provider credentials (LLM keys, GitHub App, GitLab, Bitbucket, Azure Repos, Forgejo). Docs and Discord links are included for onboarding and troubleshooting.

Common Use Cases

  • Run AI code reviews in private or regulated environments.
  • Bring your own LLM/API keys and control provider routing/cost.
  • Connect multiple SCM providers with a single review workflow.

Dependencies for kodus-selfhosted Hosting

  • PostgreSQL (pgvector), MongoDB, and RabbitMQ.
  • Public domains for Web/API/Webhooks plus private service networking.

Deployment Dependencies

Implementation Details

WEB_SUPPORT_DOCS_URL=https://docs.kodus.io
WEB_SUPPORT_DISCORD_INVITE_URL=https://discord.gg/QFzwwmNmdN
API_RABBITMQ_URI=amqp://${{kodus-rabbitmq.RABBITMQ_DEFAULT_USER}}:${{kodus-rabbitmq.RABBITMQ_DEFAULT_PASS}}@kodus-rabbitmq:5672/kodus-ai?heartbeat=60

## Why Deploy kodus-selfhosted on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying kodus-selfhosted on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Template Content

API_OPEN_AI_API_KEY

API_LLM_PROVIDER_MODEL

API_OPENAI_FORCE_BASE_URL

— 1 —