bootstrap-dev.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # 注册中心配置
  2. eureka:
  3. client:
  4. service-url:
  5. defaultZone: http://localhost:9001/eureka/
  6. #register-with-eureka: false
  7. #fetchRegistry: false
  8. instance:
  9. prefer-ip-address: true
  10. lease-renewal-interval-in-seconds: 10
  11. lease-expiration-duration-in-seconds: 30
  12. status-page-url-path: /swagger-ui.html
  13. spring:
  14. # 数据库配置
  15. datasource:
  16. driver-class-name: com.mysql.jdbc.Driver
  17. url: jdbc:mysql://172.16.0.36:3306/depot_qh?useUnicode=true&characterEncoding=utf-8
  18. username: root
  19. password: admin@1234
  20. session:
  21. store-type: redis
  22. redis:
  23. database: 0
  24. host: 172.16.0.36
  25. port: 6379
  26. password: admin@1234
  27. timeout: 3000ms
  28. jedis:
  29. pool:
  30. max-active: 8
  31. max-wait: -1ms
  32. max-idle: 8
  33. min-idle: 0
  34. # 静态资源配置
  35. resources:
  36. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  37. servlet:
  38. multipart:
  39. max-file-size: 20MB
  40. max-request-size: 20MB
  41. # 缓存配置 host: redis-depot
  42. web:
  43. upload-path: /home
  44. api:
  45. safety:
  46. host: localhost
  47. port: 8765
  48. reportUrl: http://101.36.160.140:8097
  49. logging:
  50. level:
  51. com.chinaitop.depot.risk.mapper: debug
  52. jsgjjsjUrl: http://localhost:9022/recPublish/sendMessage