system.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://172.16.90.253:3306/cq-carbon-platform-dev?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
  4. username: root
  5. password: 123456
  6. druid:
  7. initial-size: 5
  8. min-idle: 10
  9. max-active: 20
  10. web-stat-filter:
  11. exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
  12. stat-view-servlet:
  13. login-username: druid
  14. login-password: druid
  15. redis:
  16. host: 172.16.90.253
  17. database: 0
  18. port: 6379
  19. password: 123456
  20. timeout: 300ms
  21. zipkin:
  22. base-url: http://localhost:9411
  23. locator:
  24. discovery:
  25. enabled: true
  26. sleuth:
  27. sampler:
  28. probability: 1.0
  29. boot:
  30. admin:
  31. client:
  32. url: http://localhost:8095
  33. jackson:
  34. date-format: yyyy-MM-dd HH:mm:ss
  35. time-zone: GMT+8
  36. management:
  37. endpoints:
  38. web:
  39. exposure:
  40. include: '*'
  41. endpoint:
  42. health:
  43. show-details: always
  44. mybatis:
  45. # 搜索指定包别名
  46. typeAliasesPackage: com.hcloud.microserver
  47. mapper-locations:
  48. - classpath:carbon/*.xml
  49. - classpath:system/*.xml
  50. - classpath*:com/**/mapper/*.xml
  51. logging:
  52. level:
  53. root: info
  54. com.hcloud: debug
  55. sleuth:
  56. sampler:
  57. probability: 1.0
  58. boot:
  59. admin:
  60. client:
  61. url: http://localhost:9091