Set up CodeRabbit Enterprise self-hosted deployment with Azure DevOps integration including user creation, service hooks configuration, and Docker deployment.
Project Administrator
Project Collection Administrator
.env
file as AZURE_DEVOPS_BOT_TOKEN
.
Necessary Scopes:
Code
- FullWork Items
- Read, write, and manageBuild
- ReadNavigate to project's Service Hooks Page
Add the following webhooks
Add Webhook URL
/azure_webhooks
(e.g., http://127.0.0.1:8080/azure_webhooks
) for each webhook..env
file.env
file with the following content:
CODERABBIT_API_KEY
from CodeRabbit UI -> Organizations Settings -> API Keys.YAML_CONFIG
is an optional configuration file that can be used to customize CodeRabbit’s behavior at the deployment level. It takes the same format as the CodeRabbit YAML configuration file. It requires the entire YAML file to be in an escaped string format, for example, YAML_CONFIG="key1: value1\nkey2: value2"
. You can use Escape YAML to generate the escaped string./health
endpoint to verify that the coderabbit-agent
service is up and running.
8080
. Run the Docker image with the equivalent command on your chosen platform, ensuring you replace the .env
file path with the path to your actual .env
file: