# 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 # File Logging Configuration # Enable file logging (default: false, auto-enabled when running as systemd service) FILE_LOGGING_ENABLED=false # Log file path (default: /var/log/agent-manager.log) LOG_FILE_PATH=/var/log/agent-manager.log # Maximum log file size in bytes before rotation (default: 10485760 = 10MB) MAX_LOG_SIZE=10485760 # Maximum number of rotated log files to keep (default: 5) MAX_LOG_FILES=5 # 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