Developer
access.
.env
file as GITLAB_BOT_TOKEN
.
Necessary Scopes:
api
/gitlab_webhooks
(e.g., http://127.0.0.1:8080/gitlab_webhooks
).
.env
file as GITLAB_WEBHOOK_SECRET
(you can use a single secret token for all projects).
.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.