{"id":"pg_ron2dcovmhql","property_id":"prp_vlhkwkfqvw6r","domain_id":"dom_8rouhwjxaucl","root_domain":"railway.com","locale":"en","url":"https://railway.com/deploy/kodus-selfhosted--kodus-selfhosted","url_hash":"fd64fed4c484093444bf4906b9be6e77b0ad0d7f1cc28a50a4cf0437883b820d","path":"/deploy/kodus-selfhosted--kodus-selfhosted","depth":1,"canonical_url":"https://railway.com/deploy/kodus-selfhosted--kodus-selfhosted","canonical_page_id":null,"page_type":"other","page_type_guess":"other","state":"indexed","skip_reason":null,"priority":"0.9","discovered_via":"sitemap","first_seen_at":"2026-08-27T09:08:12.028Z","last_seen_at":"2026-08-27T09:08:12.028Z","http_status":200,"content_hash":"085eb803b65e59a61b78b498076935a46d3384e932ee7ccfbf1c2687890b3111","title":"Deploy & Host kodus-selfhosted | Railway","description":"Deploy and host kodus-selfhosted on Railway in one click — always-on servers, built-in databases, and GitHub auto-deploys. Kodus AI self-hosted on Railway with API, Web, Worker, and webhooks.","author":null,"published_at":"2026-02-25T11:01:16.117Z","modified_at":null,"word_count":353,"reading_time_sec":96,"lang_detected":"en","images":[],"links_out":null,"markdown_source":"readability","refresh_interval":"monthly","last_fetched_at":"2026-08-27T09:08:23.997Z","next_refresh_at":"2026-09-26T09:08:23.997Z","runs_count":1,"changes_count":0,"last_changed_at":null,"fail_count":0,"last_error":null,"created_at":"2026-08-27T09:08:12.028Z","updated_at":"2026-08-27T09:08:12.028Z","inlinks":0,"inlinks_body":0,"outlinks":30,"outlinks_external":6,"anchor_terms":[],"template_score":null,"cash":"0","cash_total":"0.05","pagerank":null,"is_orphan":true,"link_confirmed":true,"discovered_wave":0,"embedded_hash":"085eb803b65e59a61b78b498076935a46d3384e932ee7ccfbf1c2687890b3111","embedded_at":"2026-08-27T09:14:08.258Z","domain_name":"Railway","brand_color":"#17222f","domain_rank":494,"spam_score":6,"markdown":"![](https://kodus.io/wp-content/uploads/2025/11/Kodus-AI-Logo-6.png)\n\nKodus AI self-hosted on Railway with API, Web, Worker, and webhooks.\n\n[Deploy kodus-selfhosted](https://railway.com/new/template/kodus-selfhosted)\n\nJust deployed\n\nJust deployed\n\nJust deployed\n\nJust deployed\n\nJust deployed\n\nJust deployed\n\nJust deployed\n\nJust deployed\n\n## Deploy and Host kodus-selfhosted on Railway\n\nkodus-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.\n\n### About Hosting kodus-selfhosted\n\nHosting 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.\n\n### Common Use Cases\n\n-   Run AI code reviews in private or regulated environments.\n-   Bring your own LLM/API keys and control provider routing/cost.\n-   Connect multiple SCM providers with a single review workflow.\n\n### Dependencies for kodus-selfhosted Hosting\n\n-   PostgreSQL (pgvector), MongoDB, and RabbitMQ.\n-   Public domains for Web/API/Webhooks plus private service networking.\n\n#### Deployment Dependencies\n\n-   Kodus Docs: [https://docs.kodus.io](https://docs.kodus.io/)\n-   Kodus Deploy Guide: [https://docs.kodus.io/how\\_to\\_deploy/en/deploy\\_kodus/generic\\_vm](https://docs.kodus.io/how_to_deploy/en/deploy_kodus/generic_vm)\n-   Kodus Discord: [https://discord.gg/QFzwwmNmdN](https://discord.gg/QFzwwmNmdN)\n-   Railway Template Docs: [https://docs.railway.com/templates/create](https://docs.railway.com/templates/create)\n-   Railway Variables Reference: [https://docs.railway.com/reference/variables](https://docs.railway.com/reference/variables)\n\n#### Implementation Details\n\n```\nWEB_SUPPORT_DOCS_URL=https://docs.kodus.io\nWEB_SUPPORT_DISCORD_INVITE_URL=https://discord.gg/QFzwwmNmdN\nAPI_RABBITMQ_URI=amqp://${{kodus-rabbitmq.RABBITMQ_DEFAULT_USER}}:${{kodus-rabbitmq.RABBITMQ_DEFAULT_PASS}}@kodus-rabbitmq:5672/kodus-ai?heartbeat=60\n\n## Why Deploy kodus-selfhosted on Railway?\n\nRailway 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.\n\nBy 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.\n```\n\n* * *\n\nTemplate Content\n\nAPI\\_OPEN\\_AI\\_API\\_KEY\n\nAPI\\_LLM\\_PROVIDER\\_MODEL\n\nAPI\\_OPENAI\\_FORCE\\_BASE\\_URL","storage":{"htmlKey":"stealpage/html/railway.com/pg_ron2dcovmhql/run_bsqiwbcvyvaz.html.gz","markdownKey":"stealpage/md/railway.com/pg_ron2dcovmhql/run_bsqiwbcvyvaz.md.gz"},"facets":{"page_id":"pg_ron2dcovmhql","domain_id":"dom_8rouhwjxaucl","root_domain":"railway.com","locale":"en","format":"research","depth":1,"technicality":5,"promotional":1,"originality":2,"audience":"developer","funnel_stage":"awareness","intent":"informational","evidence":"none","tone":"plain","has_code":true,"code_langs":[],"has_data":false,"has_tables":false,"has_images":false,"has_video":false,"has_faq":true,"external_links":7,"heading_count":7,"topics":["observability","ai","devops"],"keywords":["kodus-selfhosted","railway","self-hosted","api","webhooks","postgres","mongodb","rabbitmq"],"entities":{},"takeaways":["The page explains how to deploy and host Kodus AI's self-hosted version on Railway, a platform that manages infrastructure for developers.","It describes the architecture of kodus-selfhosted, including its Web, API, Worker, and Webhook services, as well as the required databases and message queue.","The page includes deployment dependencies and references to external documentation for further guidance.","It highlights Railway's role in simplifying infrastructure management while allowing for scalability and customization.","The content is primarily technical, focusing on the implementation details and configuration requirements for hosting Kodus AI."],"summary":"This page provides technical documentation for deploying and hosting the self-hosted version of Kodus AI on the Railway platform.","ai_likelihood":"0","shelf_life":"evergreen","quality_score":"0.4347","fingerprint":"085eb803b65e59a61b78b498076935a46d3384e932ee7ccfbf1c2687890b3111","model":"qwen/qwen3-30b-a3b","classified_at":"2026-08-27T09:11:39.780Z","created_at":"2026-08-27T09:11:39.780Z","updated_at":"2026-08-27T09:11:39.780Z"},"assets":[{"kind":"image","src_url":"https://og.railway.com/api/image?AuthorImage=https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F5993570%3Fv%3D4&AuthorName=Gabriel+Malinosqui%27s+Projects&Category=Other&Description=Kodus+AI+self-hosted+on+Railway+with+API%2C+Web%2C+Worker%2C+and+webhooks.&TemplateImage=https%3A%2F%2Fkodus.io%2Fwp-content%2Fuploads%2F2025%2F11%2FKodus-AI-Logo-6.png&Title=kodus-selfhosted&fileType=png&layoutName=template","r2_key":null,"alt":null,"caption":null,"width":null,"height":null,"is_hero":true,"zone":"main"},{"kind":"image","src_url":"https://kodus.io/wp-content/uploads/2025/11/Kodus-AI-Logo-6.png","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"main"},{"kind":"image","src_url":"https://devicons.railway.app/i/mongodb.svg","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"main"},{"kind":"image","src_url":"https://raw.githubusercontent.com/docker-library/docs/5e29cd0cdc96d579d91310cbcb772b26067182ad/rockylinux/logo.png","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"unknown"},{"kind":"image","src_url":"https://foundryvtt.com/static/assets/icons/fvtt.png","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"unknown"},{"kind":"image","src_url":"https://raw.githubusercontent.com/letta-ai/letta-code-server-deployment/main/Letta_Icon_GreyonOffBlack.svg","r2_key":null,"alt":"","caption":null,"width":null,"height":null,"is_hero":false,"zone":"unknown"}],"shots":[],"history":[{"id":"run_bsqiwbcvyvaz","started_at":"2026-08-27T09:08:23.860Z","http_status":200,"fetcher":"direct","changed":false,"diff":null,"word_count":353}],"citedBy":[]}