bootstrap.yml 1.2 KB

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