bootstrap.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. server:
  2. port: 8081
  3. spring:
  4. application:
  5. name: admin
  6. cloud:
  7. nacos:
  8. config:
  9. server-addr: 192.168.101.104:8848
  10. file-extension: yaml
  11. namespace: fire
  12. discovery:
  13. server-addr: 192.168.101.104:8848
  14. namespace: fire
  15. service: admin
  16. datasource:
  17. username: root
  18. password: root
  19. driver-class-name: com.mysql.cj.jdbc.Driver
  20. url: jdbc:mysql://localhost:3306/fire?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
  21. hikari:
  22. minimum-idle: 5
  23. maximum-pool-size: 15
  24. connection-test-query: SELECT 1
  25. max-lifetime: 1600000
  26. connection-timeout: 30000
  27. pool-name: DatebookHikariCP
  28. redis:
  29. cluster:
  30. nodes: 192.168.101.100:7001,192.168.101.100:7002,192.168.101.100:7003,192.168.101.101:7004,192.168.101.101:7005,192.168.101.101:7006,192.168.101.102:7007,192.168.101.102:7008
  31. # host: 192.168.101.100
  32. # port: 11670
  33. jwt:
  34. header: Authorization
  35. tokenHead: Bearer
  36. mybatis-plus:
  37. configuration:
  38. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  39. global-config:
  40. db-config:
  41. logic-delete-field: delFlag
  42. mapper-locations: classpath:mapper/*.xml
  43. typeAliasesPackage: com.fire.dto.system