bootstrap-prod.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # 注册中心配置
  2. eureka:
  3. client:
  4. service-url:
  5. defaultZone: http://localhost:9001/eureka/
  6. instance:
  7. hostname: localhost
  8. prefer-ip-address: true
  9. # 每隔10s发送一次心跳(默认30s)
  10. lease-renewal-interval-in-seconds: 10
  11. # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
  12. lease-expiration-duration-in-seconds: 30
  13. status-page-url: http://${eureka.instance.hostname}:${server.port}/swagger-ui.html
  14. spring:
  15. # 数据库配置
  16. datasource:
  17. driver-class-name: com.mysql.jdbc.Driver
  18. url: jdbc:mysql://172.18.93.244:3306/depot_qh?useUnicode=true&characterEncoding=utf-8&useSSL=false
  19. username: root
  20. password: qh_admin@3579
  21. # 缓存配置
  22. session:
  23. store-type: redis
  24. redis:
  25. database: 0
  26. host: 172.18.93.229
  27. port: 6379
  28. password: qh_redis@3579
  29. timeout: 60000ms
  30. jedis:
  31. pool:
  32. max-active: 8
  33. max-wait: -1ms
  34. max-idle: 8
  35. min-idle: 0
  36. # 静态资源配置
  37. resources:
  38. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  39. # jackson:
  40. # date-format: yyyy-MM-dd
  41. # time-zone: GMT+8
  42. web:
  43. upload-path: /home/qh/depot/depotImg
  44. cxf:
  45. path: /quality
  46. #出入库生成库存接口
  47. crk-webservice: /Base/webServices/StoreChangeServer?wsdl
  48. #省平台倒仓审批接口
  49. report-Url: http://172.16.2.10:88/api
  50. #给市平台推自检/出库数据的接口
  51. reportForSPT-Url: http://172.16.0.72:8888