FEBS-Server-System-prod.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. spring:
  2. aop:
  3. proxy-target-class: true
  4. jackson:
  5. date-format: yyyy-MM-dd HH:mm:ss
  6. time-zone: GMT+8
  7. boot:
  8. admin:
  9. client:
  10. url: http://${febs-monitor-admin}:8401
  11. username: febs
  12. password: 123456
  13. freemarker:
  14. check-template-location: false
  15. datasource:
  16. dynamic:
  17. p6spy: true
  18. hikari:
  19. connection-timeout: 30000
  20. max-lifetime: 1800000
  21. max-pool-size: 15
  22. min-idle: 5
  23. connection-test-query: select 1
  24. pool-name: FebsHikariCP
  25. primary: base
  26. datasource:
  27. base:
  28. username: root
  29. password: 123456
  30. driver-class-name: com.mysql.cj.jdbc.Driver
  31. url: jdbc:mysql://${mysql.url}:3306/febs_cloud_base?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  32. zipkin:
  33. sender:
  34. type: rabbit
  35. sleuth:
  36. sampler:
  37. probability: 1
  38. rabbitmq:
  39. host: ${rabbitmq.url}
  40. port: 5672
  41. username: febs
  42. password: 123456
  43. autoconfigure:
  44. exclude: org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
  45. mybatis-plus:
  46. type-aliases-package: cc.mrbird.febs.common.entity.system
  47. mapper-locations: classpath:mapper/*/*.xml
  48. configuration:
  49. jdbc-type-for-null: null
  50. global-config:
  51. banner: false
  52. security:
  53. oauth2:
  54. resource:
  55. id: ${spring.application.name}
  56. user-info-uri: http://${febs-gateway}:8301/auth/user
  57. info:
  58. app:
  59. name: ${spring.application.name}
  60. description: "@project.description@"
  61. version: "@project.version@"
  62. management:
  63. endpoints:
  64. web:
  65. exposure:
  66. include: '*'
  67. endpoint:
  68. health:
  69. show-details: ALWAYS