You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.5 KiB

  1. # Gin-Vue-Admin Global Configuration
  2. # jwt configuration
  3. jwt:
  4. signing-key: 'qmPlus'
  5. # zap logger configuration
  6. zap:
  7. level: 'info'
  8. format: 'console'
  9. prefix: '[GIN-VUE-ADMIN]'
  10. director: 'log'
  11. link-name: 'latest_log'
  12. show-line: true
  13. encode-level: 'LowercaseColorLevelEncoder'
  14. stacktrace-key: 'stacktrace'
  15. log-in-console: true
  16. # redis configuration
  17. redis:
  18. db: 0
  19. addr: '127.0.0.1:6379'
  20. password: ''
  21. # email configuration
  22. email:
  23. to: 'xxx@qq.com'
  24. port: 465
  25. from: 'xxx@163.com'
  26. host: 'smtp.163.com'
  27. is-ssl: true
  28. secret: 'xxx'
  29. nickname: 'test'
  30. # casbin configuration
  31. casbin:
  32. model-path: './resource/rbac_model.conf'
  33. # system configuration
  34. system:
  35. env: 'public' # Change to "develop" to skip authentication for development mode
  36. addr: 8888
  37. db-type: 'mysql'
  38. oss-type: 'local'
  39. use-multipoint: false
  40. # captcha configuration
  41. captcha:
  42. key-long: 6
  43. img-width: 240
  44. img-height: 80
  45. # mysql connect configuration
  46. mysql:
  47. path: '127.0.0.1:3306'
  48. config: 'charset=utf8mb4&parseTime=True&loc=Local'
  49. db-name: 'qmPlus'
  50. username: 'root'
  51. password: 'Aa@6447985'
  52. max-idle-conns: 10
  53. max-open-conns: 10
  54. log-mode: false
  55. # local configuration
  56. local:
  57. path: 'uploads/file'
  58. # qiniu configuration (请自行七牛申请对应的 公钥 私钥 bucket 和 域名地址)
  59. qiniu:
  60. zone: 'ZoneHuadong'
  61. bucket: 'qm-plus-img'
  62. img-path: 'http://qmplusimg.henrongyi.top'
  63. use-https: false
  64. access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
  65. secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
  66. use-cdn-domains: false