.env
fileGITHUB_APP_PEM_FILE
, flatten the PEM file by replacing newlines with \n
.GITHUB_HOSTNAME
, use GitHub Enterprise server’s hostname, for example, “github.acme-inc.com”CODERABBIT_API_KEY
from CodeRabbit UI -> Organizations Settings -> API Keys.ENABLE_LEARNINGS
is set to true
, CodeRabbit will use CODERABBIT_API_KEY
to store learnings on our servers.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.
http://127.0.0.1:8080/github_webhooks
. GitHub will send events to the CodeRabbit instance.