.env.example 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Server Configuration
  2. HOST=0.0.0.0
  3. PORT=3000
  4. WEBHOOK_PATH=/webhook
  5. WEBHOOK_SECRET=
  6. # Logging Configuration
  7. # Log level: DEBUG, INFO, WARN, ERROR (default: INFO)
  8. LOG_LEVEL=INFO
  9. # Queue Configuration
  10. # Enable parallel job processing per repository (default: false)
  11. # When enabled, each Gogs repository gets its own FIFO queue
  12. # This allows jobs from different repositories to run independently
  13. # Recommended for multi-repository setups where jobs can run in parallel
  14. QUEUE_PARALLEL_PER_REPOSITORY=false
  15. # Webhook Event Configuration
  16. # Enable/disable webhook events (commands are configured in commands.json)
  17. # Set to 'true' to enable event handling, 'false' to disable
  18. WEBHOOK_PUSH_ENABLED=true
  19. WEBHOOK_PULL_REQUEST_ENABLED=false
  20. WEBHOOK_CREATE_ENABLED=false
  21. WEBHOOK_DELETE_ENABLED=false
  22. WEBHOOK_RELEASE_ENABLED=false
  23. WEBHOOK_ISSUES_ENABLED=false
  24. WEBHOOK_ISSUE_COMMENT_ENABLED=false
  25. WEBHOOK_GLOBAL_ENABLED=false
  26. # Path Configuration
  27. # Base path for agent-manager installation (defaults to current working directory)
  28. AGENT_MANAGER_PATH=/home/claude/agent-manager
  29. # Workspace path for command execution (used in commands.json)
  30. WORKSPACE_PATH=/workspace
  31. # Scripts path (defaults to ${AGENT_MANAGER_PATH}/scripts if not set)
  32. SCRIPTS_PATH=/home/claude/agent-manager/scripts
  33. # MCP Server Configuration
  34. # Path to gogs-mcp server (used in headless Claude Code mode)
  35. GOGS_MCP_PATH=/data/gogs-mcp/dist/index.js
  36. # Legacy Command Configuration (deprecated - use commands.json instead)
  37. # These settings are maintained for backward compatibility
  38. # WEBHOOK_PUSH_COMMAND=echo "Push to {{branch}} by {{pusher}} in {{repo}}"
  39. # WEBHOOK_PUSH_FILTER_BRANCH=main
  40. # COMMAND_TIMEOUT=300000
  41. # COMMAND_WORKING_DIR=/workspace