.env.example 926 B

12345678910111213141516171819202122232425262728
  1. # Server Configuration
  2. HOST=0.0.0.0
  3. PORT=3000
  4. WEBHOOK_PATH=/webhook
  5. WEBHOOK_SECRET=
  6. # Webhook Event Configuration
  7. # Enable/disable webhook events (commands are configured in commands.json)
  8. # Set to 'true' to enable event handling, 'false' to disable
  9. WEBHOOK_PUSH_ENABLED=true
  10. WEBHOOK_PULL_REQUEST_ENABLED=false
  11. WEBHOOK_CREATE_ENABLED=false
  12. WEBHOOK_DELETE_ENABLED=false
  13. WEBHOOK_RELEASE_ENABLED=false
  14. WEBHOOK_ISSUES_ENABLED=false
  15. WEBHOOK_ISSUE_COMMENT_ENABLED=false
  16. WEBHOOK_GLOBAL_ENABLED=false
  17. # MCP Server Configuration
  18. # Path to gogs-mcp server (used in headless Claude Code mode)
  19. GOGS_MCP_PATH=/data/gogs-mcp/dist/index.js
  20. # Legacy Command Configuration (deprecated - use commands.json instead)
  21. # These settings are maintained for backward compatibility
  22. # WEBHOOK_PUSH_COMMAND=echo "Push to {{branch}} by {{pusher}} in {{repo}}"
  23. # WEBHOOK_PUSH_FILTER_BRANCH=main
  24. # COMMAND_TIMEOUT=300000
  25. # COMMAND_WORKING_DIR=/workspace