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.

55 lines
1.1 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: true
  18. #sqlite 配置
  19. sqlite:
  20. path: db/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. # redis configuration
  28. redis:
  29. addr: '127.0.0.1:6379'
  30. passwprd: ''
  31. db: 0
  32. # system configuration
  33. system:
  34. use-multipoint: false
  35. env: 'public' # Change to "develop" to skip authentication for development mode
  36. addr: 8888
  37. db-type: "mysql"
  38. # captcha configuration
  39. captcha:
  40. key-long: 4
  41. img-width: 120
  42. img-height: 40
  43. # logger configuration
  44. log:
  45. prefix: '[GIN-VUE-ADMIN]'
  46. log-file: true
  47. stdout: 'DEBUG'
  48. file: 'DEBUG'