forest-admin 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://172.16.90.253:3306/forest-cloud-mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
  4. username: root
  5. password: 123456
  6. druid:
  7. #连接池初始化大小
  8. initial-size: 5
  9. #最小空闲连接数
  10. min-idle: 10
  11. #最大连接数
  12. max-active: 20
  13. web-stat-filter:
  14. #不统计这些请求数据
  15. exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
  16. #访问监控网页的登录用户名和密码
  17. stat-view-servlet:
  18. login-username: druid
  19. login-password: druid
  20. servlet:
  21. multipart:
  22. enabled: true
  23. file-size-threshold: 0
  24. max-file-size: 100000000
  25. max-request-size: 100000000
  26. redis:
  27. host: 172.16.90.64 # Redis服务器地址
  28. database: 0 # Redis数据库索引(默认为0)
  29. port: 6379 # Redis服务器连接端口
  30. # Redis服务器连接密码(默认为空)
  31. password:
  32. timeout: 300ms # 连接超时时间(毫秒)
  33. zipkin:
  34. base-url: http://localhost:9411
  35. locator:
  36. discovery:
  37. enabled: true
  38. sleuth:
  39. sampler:
  40. # zipkin 抽样比例 在默认情况下,该值为0.1
  41. probability: 1.0
  42. boot:
  43. admin:
  44. client:
  45. # admin 服务端的地址
  46. url: http://localhost:8095
  47. management:
  48. endpoints:
  49. web:
  50. exposure:
  51. include: '*'
  52. endpoint:
  53. health:
  54. # 展示详情
  55. show-details: always
  56. mybatis:
  57. mapper-locations:
  58. - classpath:dao/*.xml
  59. - classpath*:com/**/mapper/*.xml
  60. logging:
  61. level:
  62. #日志配置DEBUG,INFO,WARN,ERROR
  63. root: info
  64. com.hwrj.cloud: debug
  65. sleuth:
  66. sampler:
  67. # zipkin 抽样比例 在默认情况下,该值为0.1
  68. probability: 1.0
  69. boot:
  70. admin:
  71. client:
  72. # admin 服务端的地址
  73. url: http://localhost:9091
  74. # 过滤不需要认证路径条件
  75. secure:
  76. ignored:
  77. urls:
  78. - /swagger-ui.html
  79. - /swagger-resources/**
  80. - /swagger/**
  81. - /**/v2/api-docs
  82. - /**/*.js
  83. - /**/*.css
  84. - /**/*.png
  85. - /**/*.ico
  86. - /webjars/springfox-swagger-ui/**
  87. - /actuator/**
  88. - /druid/**
  89. - /admin/login
  90. - /admin/register
  91. - /admin/info
  92. - /admin/logout
  93. - /minio/upload
  94. - /product/import
  95. - /big/**
  96. - /bigData/**
  97. - /upload/**
  98. jwt:
  99. tokenHeader: Authorization
  100. secret: forest-admin-secret
  101. expiration: 604800
  102. tokenHead: Bearer
  103. redis:
  104. database: forest
  105. key:
  106. admin: 'ums:admin'
  107. token: 'ums:token'
  108. resourceList: 'ums:resourceList'
  109. expire:
  110. common: 86400 # 24小时
  111. qiniu:
  112. accessKey: FLWUJxiZY1_N-5d6J_jsdgbqyjVDUg86ghZHsaQW
  113. bucket: forestcloud
  114. path: http://fqn.hongweisoft.com/
  115. processName: 'null'
  116. secretKey: So55w4fQ2dTQ6uMlWuUywmKG8ZTqVhWfr_3Ii7GI