config.yaml 964 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Gin-Vue-Admin Global Configuration
  2. # casbin configuration
  3. casbin:
  4. model-path: './resource/rbac_model.conf'
  5. # jwt configuration
  6. jwt:
  7. signing-key: 'qmPlus'
  8. # mysql connect configuration
  9. mysql:
  10. username: root
  11. #Aa@6447985
  12. password: 'YINGL19980716.'
  13. path: '127.0.0.1:3306'
  14. db-name: 'qmPlus'
  15. config: 'charset=utf8&parseTime=True&loc=Local'
  16. max-idle-conns: 10
  17. max-open-conns: 10
  18. log-mode: true
  19. # oss configuration
  20. qiniu:
  21. access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
  22. secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
  23. # redis configuration
  24. redis:
  25. addr: '127.0.0.1:6379'
  26. passwprd: ''
  27. db: 0
  28. # system configuration
  29. system:
  30. use-multipoint: false
  31. env: 'develop'
  32. addr: 8888
  33. # captcha configuration
  34. captcha:
  35. key-long: 6
  36. img-width: 120
  37. img-height: 40
  38. # logger configuration
  39. log:
  40. prefix: '[GIN-VUE-ADMIN]'
  41. log-file: true
  42. stdout: 'DEBUG'
  43. file: 'WARNING'