config.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. database:
  2. # 数据库类型
  3. dialect: mysql
  4. # host地址
  5. host: 127.0.0.1
  6. # 端口
  7. port: 3306
  8. # 数据库名称
  9. db: project_management
  10. # 数据库用户名
  11. userName: root
  12. # 数据库密码
  13. password: 123456
  14. # 其他配置参数
  15. otherParams: charset=utf8mb4&parseTime=True&loc=Local
  16. # 最大空闲连接数
  17. maxIdleConn: 20
  18. # 最大连接数
  19. maxOpenConn: 200
  20. # 连接超时关闭时间,单位:秒
  21. connMaxLifetime: 60
  22. jwt:
  23. secret: "xxxxx"
  24. refresh_expire: 168
  25. Issuer: "lc_oauth"
  26. # 服务相关配置
  27. server:
  28. # 启动模式 debug、release
  29. mode: debug
  30. # http服务信息
  31. insecureServingInfo:
  32. # 监听端口
  33. port: ":9999"
  34. subMail:
  35. appid: "97173"
  36. signature: "f639a60e41ee0554921d89884f5ff87e"
  37. redis:
  38. addr: "192.168.11.24:6379"
  39. password: ""
  40. db: 0
  41. nats:
  42. NatsServer_Url: "nats://127.0.0.0:4222"
  43. swag:
  44. # 将环境变量 NAME_OF_ENV_VARIABLE设置为任意值,则 /swagger/*any 返回404响应
  45. enable: "NAME_OF_ENV_VARIABLE"
  46. qiniu:
  47. endpoint: "https://bzdcdn.baozhida.cn/"
  48. accessKeyID: "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
  49. accessKeySecret: "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
  50. bucketName: "bzdcdn"
  51. # 应用默认图标
  52. Icon:
  53. iconPath: "icon/icon.png"
  54. # pc端背景图
  55. BackgroundImagePc: "https://bzdcdn.baozhida.cn//UpImage/17205770412596d822-1901-407e-a55e-b0dd3518c220.png"
  56. # 移动端背景图
  57. BackgroundImageMobile: "https://bzdcdn.baozhida.cn//UpImage/17205770293e545d32-bc2a-4acd-83c5-ac969fcaeb26.png"
  58. # pc端启动图
  59. StartupDiagramPc: "https://bzdcdn.baozhida.cn//UpImage/17205770293e545d32-bc2a-4acd-83c5-ac969fcaeb26.png"
  60. # 移动端启动图
  61. StartupDiagramMobile: "https://bzdcdn.baozhida.cn//UpImage/17205770293e545d32-bc2a-4acd-83c5-ac969fcaeb26.png"