Environments
Environment Overview
Configuration Differences
Environment Variables
Required in All Environments
CROCBOT_STATE_DIR: Runtime state directoryCROCBOT_CONFIG_PATH: Main config file pathCROCBOT_WORKSPACE: Agent working directory
API Keys (at least one required)
ANTHROPIC_API_KEY: Claude API accessOPENAI_API_KEY: OpenAI API access
Telegram
TELEGRAM_BOT_TOKEN: Bot token from @BotFather
Development-Only
NODE_ENV=development: Enable development featuresDEBUG=*: Enable debug logging
MCP (optional)
MCP_SERVER_TOKEN: Authentication token for MCP server mode (ifmcp.server.enabled)
Production-Only
NODE_ENV=production: Production modeCOOLIFY_WEBHOOK_URL: Deployment trigger (GitHub Actions repo variable)- Alerting webhook URLs (optional)
