application.yml 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. server:
  2. port: 10021
  3. servlet:
  4. context-path: /demo
  5. tomcat:
  6. uri-encoding: UTF-8
  7. basedir: /data/tmp
  8. spring:
  9. profiles:
  10. include:
  11. - common
  12. # Redis
  13. redis:
  14. database: 8 # Redis数据库索引(默认为0)
  15. timeout: 0 # 连接超时时间(毫秒)
  16. host: 172.18.0.23
  17. port: 6379
  18. password: Ebe1tech/Passw0rd
  19. # dataBase
  20. datasource:
  21. druid:
  22. # 从这里开始(druid),中间的这段配置用于 pocky.database.multiTenantType != DATASOURCE 时
  23. url: jdbc:mysql://172.18.0.23:3306/gihon?characterEncoding=UTF-8&useSSL=false
  24. username: root
  25. password: 1q2w3e4r
  26. knife4j:
  27. # 开启增强配置
  28. enable: true
  29. setting:
  30. swaggerModelName: '模型名称'
  31. enableFooter: false
  32. documents:
  33. -
  34. group: SSO
  35. name: 登录验证模块
  36. gihon:
  37. common:
  38. module-type: 1
  39. module-code: SystemManage