.env.example 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # Webhook Event Configuration
  10. # Enable/disable webhook events (commands are configured in commands.json)
  11. # Set to 'true' to enable event handling, 'false' to disable
  12. WEBHOOK_PUSH_ENABLED=true
  13. WEBHOOK_PULL_REQUEST_ENABLED=false
  14. WEBHOOK_CREATE_ENABLED=false
  15. WEBHOOK_DELETE_ENABLED=false
  16. WEBHOOK_RELEASE_ENABLED=false
  17. WEBHOOK_ISSUES_ENABLED=false
  18. WEBHOOK_ISSUE_COMMENT_ENABLED=false
  19. WEBHOOK_GLOBAL_ENABLED=false
  20. # Path Configuration
  21. # Base path for agent-manager installation (defaults to current working directory)
  22. AGENT_MANAGER_PATH=/home/claude/agent-manager
  23. # Workspace path for command execution (used in commands.json)
  24. WORKSPACE_PATH=/workspace
  25. # Scripts path (defaults to ${AGENT_MANAGER_PATH}/scripts if not set)
  26. SCRIPTS_PATH=/home/claude/agent-manager/scripts
  27. # MCP Server Configuration
  28. # Path to gogs-mcp server (used in headless Claude Code mode)
  29. GOGS_MCP_PATH=/data/gogs-mcp/dist/index.js
  30. # Legacy Command Configuration (deprecated - use commands.json instead)
  31. # These settings are maintained for backward compatibility
  32. # WEBHOOK_PUSH_COMMAND=echo "Push to {{branch}} by {{pusher}} in {{repo}}"
  33. # WEBHOOK_PUSH_FILTER_BRANCH=main
  34. # COMMAND_TIMEOUT=300000
  35. # COMMAND_WORKING_DIR=/workspace