Set up CodeRabbit Enterprise self-hosted deployment with Bitbucket Datacenter integration including user creation, webhook configuration, and Docker deployment.
.env
file as BITBUCKET_SERVER_BOT_TOKEN
.
Navigate to Webhook Settings
Configure Events
Add Webhook URL
/bitbucket_server_webhooks
(e.g., http://127.0.0.1:8080/bitbucket_server_webhooks
)..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.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:
/health
endpoint to verify that the coderabbit-agent
service is up and running.