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.

58 lines
1.2 KiB

  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. password: 'Aa@6447985'
  12. path: '127.0.0.1:3306'
  13. db-name: 'qmPlus'
  14. config: 'charset=utf8&parseTime=True&loc=Local'
  15. max-idle-conns: 10
  16. max-open-conns: 10
  17. log-mode: false
  18. #sqlite 配置
  19. sqlite:
  20. path: db.db
  21. log-mode: true
  22. config: 'loc=Asia/Shanghai'
  23. # oss configuration
  24. qiniu:
  25. access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
  26. secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
  27. bucket: 'qm-plus-img'
  28. img-path: 'http://qmplusimg.henrongyi.top'
  29. # redis configuration
  30. redis:
  31. addr: '127.0.0.1:6379'
  32. password: ''
  33. db: 0
  34. # system configuration
  35. system:
  36. use-multipoint: false
  37. env: 'public' # Change to "develop" to skip authentication for development mode
  38. addr: 8888
  39. db-type: "mysql" # support mysql/sqlite
  40. # captcha configuration
  41. captcha:
  42. key-long: 4
  43. img-width: 120
  44. img-height: 40
  45. # logger configuration
  46. log:
  47. prefix: '[GIN-VUE-ADMIN]'
  48. log-file: true
  49. stdout: 'DEBUG'
  50. file: 'DEBUG'