| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # Server Configuration
- HOST=0.0.0.0
- PORT=3000
- WEBHOOK_PATH=/webhook
- WEBHOOK_SECRET=
- # Logging Configuration
- # Log level: DEBUG, INFO, WARN, ERROR (default: INFO)
- LOG_LEVEL=INFO
- # Queue Configuration
- # Enable parallel job processing per repository (default: false)
- # When enabled, each Gogs repository gets its own FIFO queue
- # This allows jobs from different repositories to run independently
- # Recommended for multi-repository setups where jobs can run in parallel
- QUEUE_PARALLEL_PER_REPOSITORY=false
- # Webhook Event Configuration
- # Enable/disable webhook events (commands are configured in commands.json)
- # Set to 'true' to enable event handling, 'false' to disable
- WEBHOOK_PUSH_ENABLED=true
- WEBHOOK_PULL_REQUEST_ENABLED=false
- WEBHOOK_CREATE_ENABLED=false
- WEBHOOK_DELETE_ENABLED=false
- WEBHOOK_RELEASE_ENABLED=false
- WEBHOOK_ISSUES_ENABLED=false
- WEBHOOK_ISSUE_COMMENT_ENABLED=false
- WEBHOOK_GLOBAL_ENABLED=false
- # Path Configuration
- # Base path for agent-manager installation (defaults to current working directory)
- AGENT_MANAGER_PATH=/home/claude/agent-manager
- # Workspace path for command execution (used in commands.json)
- WORKSPACE_PATH=/workspace
- # Scripts path (defaults to ${AGENT_MANAGER_PATH}/scripts if not set)
- SCRIPTS_PATH=/home/claude/agent-manager/scripts
- # MCP Server Configuration
- # Path to gogs-mcp server (used in headless Claude Code mode)
- GOGS_MCP_PATH=/data/gogs-mcp/dist/index.js
- # Legacy Command Configuration (deprecated - use commands.json instead)
- # These settings are maintained for backward compatibility
- # WEBHOOK_PUSH_COMMAND=echo "Push to {{branch}} by {{pusher}} in {{repo}}"
- # WEBHOOK_PUSH_FILTER_BRANCH=main
- # COMMAND_TIMEOUT=300000
- # COMMAND_WORKING_DIR=/workspace
|