mall-admin-cms 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://172.16.90.64:3306/carbon-mall?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.64 # Redis服务器地址
  17. database: 0 # Redis数据库索引(默认为0)
  18. port: 6379 # Redis服务器连接端口
  19. password: # Redis服务器连接密码(默认为空)
  20. timeout: 300ms # 连接超时时间(毫秒)
  21. zipkin:
  22. base-url: http://localhost:9411
  23. locator:
  24. discovery:
  25. enabled: true
  26. sleuth:
  27. sampler:
  28. # zipkin 抽样比例 在默认情况下,该值为0.1
  29. probability: 1.0
  30. boot:
  31. admin:
  32. client:
  33. # admin 服务端的地址
  34. url: http://localhost:8095
  35. management:
  36. endpoints:
  37. web:
  38. exposure:
  39. include: '*'
  40. endpoint:
  41. health:
  42. # 展示详情
  43. show-details: always
  44. mybatis:
  45. mapper-locations:
  46. - classpath:dao/*.xml
  47. - classpath*:com/**/mapper/*.xml
  48. logging:
  49. level:
  50. root: info #日志配置DEBUG,INFO,WARN,ERROR
  51. com.mtcarpenter.mall: debug