Skip to content

Environment variables ​

VariableUsed byMeaning
PATCHULA_TOKENlookup, runGitHub token; falls back to GITHUB_TOKEN, then GH_TOKEN
PATCHULA_LOGalllog level: error, warn (the CLI default), info (the server default), debug or trace; -vv means debug
PATCHULA_RECHECKrun, servernow or next-run: when a ticked checkbox says it takes effect
PATCHULA_TOOLS_DIRrun, toolsthe lockfile tool store; default <cache>.tools
PATCHULA_DOCKERHUB_USERNAMElookupsDocker Hub user for authenticated pulls; set with the token
PATCHULA_DOCKERHUB_TOKENlookupsDocker Hub access token
PATCHULA_APP_IDserverGitHub App ID
PATCHULA_APP_PRIVATE_KEY_FILEserverpath to the App's PEM key
PATCHULA_APP_PRIVATE_KEYserverthe PEM itself, instead of a file
PATCHULA_WEBHOOK_SECRET_FILEserverpath to the webhook secret
PATCHULA_WEBHOOK_SECRETserverthe webhook secret itself, instead of a file
PATCHULA_SERVER_SETTINGSserverthe operator settings file
PATCHULA_SERVER_CACHEserverthe server's SQLite cache
PATCHULA_LISTENserverbind address; default 127.0.0.1:8080
PATCHULA_SHUTDOWN_TIMEOUT_SECSserverdrain deadline on SIGTERM, 1 to 3600; default 60

Flags override their environment variables. For each secret, set either the file or the value, not both.

Two more exist for development: PATCHULA_RECORD=1 records HTTP fixtures instead of replaying them, and PATCHULA_REDACT adds comma-separated literals for the fixture secret scanner to reject. See HTTP fixtures.

MIT licensed. Clean-room: no Renovate source was read in the making of this bat.