Deploy using our CLI
CLI is a streamlined deployment tool for Kodus, optimized for testing and small-scale deployments.
System Requirements
Recommended Hardware
Recommended Hardware
- CPU: 2+ cores
- RAM: 8GB+
- Storage: 60GB+ free space
Required Software
Required Software
- Docker (latest stable version)
- Node.js (latest LTS version)
- Yarn or NPM (latest stable version)
- Domain name or fixed IP (for external deployments)
Required Ports
Required Ports
- 3000: Kodus Web App
- 3001: Orchestrator API
- 5672, 15672: RabbitMQ
- 5432: PostgreSQL
- 27017: MongoDB
Note: Internet access is only required if you plan to connect with cloud-based Git services like GitHub, GitLab, or Bitbucket. For self-hosted Git tools within your network, external internet access is optional.
Installation Guide
Need help?
Schedule a call with our founder to get help with your deployment.
1. Installing the CLI
2. Installation Process
Detailed walkthrough of the kodus install
command, including:
- Required configuration inputs
- Database setup options (local/external)
- AI API configuration (Google Vertex, OpenAI, Novita AI)
- Environment variables setup
LLM API Keys Resources
When prompted during installation, you’ll need API keys for AI providers. Use these official resources:
OpenAI API Key
OpenAI API Key
Visit the OpenAI API Keys page to create and manage your keys.
Google AI / Vertex AI
Google AI / Vertex AI
Follow the Google Cloud API setup guide to create your credentials.
Anthropic Claude
Anthropic Claude
Get started with the Anthropic API documentation.
Novita AI
Novita AI
Access the Novita AI Developer portal for API information.
3. Setting Up a Reverse Proxy
To make your Kodus instance accessible from external systems (required for Code Review webhooks), you’ll need to configure a reverse proxy with Nginx.
Here’s a sample Nginx configuration:
Save this configuration to /etc/nginx/sites-available/kodus
and create a symbolic link to enable it:
Post-Installation Guide
After successfully installing Kodus with the CLI, follow these steps to get the most out of your deployment:
Completing Initial Setup
Once you access the web interface for the first time, you’ll need to:
- Create your admin account - This will be the first user with full system access
- Configure your Git provider - Connect GitHub, GitLab, or Bitbucket following the on-screen instructions
- Select repositories for analysis - Choose which code repositories Kody will review
For detailed steps on the initial configuration process, refer to our Getting Started Guide.
Updating Kodus
To update your Kodus installation to the latest version:
Enabling SSL (Recommended)
For production deployments, we strongly recommend setting up SSL:
Accessing Service Logs
Core Services Logs
Core Services Logs
Database Logs
Database Logs
Infrastructure Service Logs
Infrastructure Service Logs
Troubleshooting Common Issues
Web Interface Not Accessible
Web Interface Not Accessible
If you cannot access the web interface after installation:
Common solutions:
- Ensure ports 3000 and 3001 are open in your firewall
- Verify your Nginx configuration is correct
- Check for SSL certificate issues if using HTTPS
Git Webhook Connection Errors
Git Webhook Connection Errors
If webhooks from your Git provider aren’t reaching Kodus:
Common solutions:
- Verify your public URL is correctly configured
- Ensure your Git provider can reach your Kodus instance
- Check the webhook configuration in your Git provider
Database Connection Issues
Database Connection Issues
If services are failing due to database connectivity problems:
Common solutions:
- Restart the database containers
- Check for disk space issues
- Verify your .env file has correct database credentials
Need Advanced Troubleshooting?
For a comprehensive troubleshooting guide, see our dedicated troubleshooting documentation.