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.

66 lines
1.3 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=utf8mb4&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. # 切换本地与七牛云上传,分配头像和文件路径
  25. localupload:
  26. local: false
  27. avatar-path: uploads/avatar
  28. file-path: uploads/file
  29. # 请自行七牛申请对应的 公钥 私钥 bucket 和 域名地址
  30. qiniu:
  31. access-key: '25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ'
  32. secret-key: 'pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY'
  33. bucket: 'qm-plus-img'
  34. img-path: 'http://qmplusimg.henrongyi.top'
  35. # redis configuration
  36. redis:
  37. addr: '127.0.0.1:6379'
  38. password: ''
  39. db: 0
  40. # system configuration
  41. system:
  42. use-multipoint: false
  43. env: 'public' # Change to "develop" to skip authentication for development mode
  44. addr: 8888
  45. db-type: "mysql" # support mysql/sqlite
  46. # captcha configuration
  47. captcha:
  48. key-long: 6
  49. img-width: 240
  50. img-height: 80
  51. # logger configuration
  52. log:
  53. prefix: '[GIN-VUE-ADMIN]'
  54. log-file: true
  55. stdout: 'DEBUG'
  56. file: 'DEBUG'