config-example.json 513 B

123456789101112131415161718192021222324
  1. {
  2. "port": 30000,
  3. "database": {
  4. "host": "localhost",
  5. "database": "gitnexus",
  6. "port": 3306,
  7. "user": "gitnexus",
  8. "password": ""
  9. },
  10. "redis": {
  11. "host": "localhost",
  12. "port": 5173,
  13. "password": ""
  14. },
  15. "email": {
  16. "host": "smtp.exmail.qq.com",
  17. "port": 465,
  18. "secure": true,
  19. "user": "",
  20. "password": ""
  21. },
  22. "url": "https://cd1-api.gitnexus.cn/",
  23. "core_url": "http://cd2-api.gitnexus.cn"
  24. }