Recoder reads its settings from environment variables. With Docker, copy .env.example to .env and fill in what you need. Model settings saved in the app take priority over the variables.
|
PORT | 3001 | Port the server listens on. |
PUBLIC_API_URL | http://localhost:3001 | Server address the browser uses. Docker builds it into the web image. |
FRONTEND_URL | http://localhost:3000 | Public address of the web app. Docker passes it to the web container as ORIGIN. |
RECODER_DATA_DIR | ~/.recoder/data | Where settings, tokens and guidelines are saved. Docker uses a volume at /app/data. |
RECODER_WORKDIR | /tmp/recoder-work | Where pull requests are checked out. |
|
RECODER_REVIEW_MAX_FILE_CHARS | 12000 | Most characters returned by one file read. |
RECODER_REVIEW_EXCLUDE | none | Comma-separated text. Files whose path contains any of it are left out of the review. |
RECODER_LLM_CONCURRENCY | 8 | Most model requests running at once. |
RECODER_LLM_RETRIES | 5 | Retries for a failed model request. |
|
RECODER_ALLOWED_COMMANDS | echo,git,gh,glab,bun | Programs the server may run. They run without a shell. The Docker default leaves out glab. |
RECODER_COMMAND_TIMEOUT_MS | 120000 | Time limit for each command. |