
Deploy kodus-selfhosted
Kodus AI self-hosted on Railway with API, Web, Worker, and webhooks.
kodus-web
Just deployed
kodus-ai-webhook
Just deployed
MongoDB
Just deployed
/data/db
kodus-ai-api
Just deployed
kodus-rabbitmq
Just deployed
pgvector
Just deployed
kodus-ai-worker
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
- Kodus Docs: https://docs.kodus.io
- Kodus Deploy Guide: https://docs.kodus.io/how_to_deploy/en/deploy_kodus/generic_vm
- Kodus Discord: https://discord.gg/QFzwwmNmdN
- Railway Template Docs: https://docs.railway.com/templates/create
- Railway Variables Reference: https://docs.railway.com/reference/variables
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
kodus-web
ghcr.io/kodustech/kodus-webkodus-ai-webhook
ghcr.io/kodustech/kodus-ai-webhookMongoDB
mongo:8.0kodus-ai-api
ghcr.io/kodustech/kodus-ai-apiAPI_OPEN_AI_API_KEY
API_LLM_PROVIDER_MODEL
API_OPENAI_FORCE_BASE_URL
kodus-rabbitmq
ghcr.io/kodustech/kodus-rabbitmqpgvector
kodustech/kodus-installerkodus-ai-worker
ghcr.io/kodustech/kodus-ai-worker