application.yml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: purchase-server
  6. security:
  7. user:
  8. name: admin
  9. password: select111***
  10. datasource:
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. url: jdbc:mysql://10.1.81.79:3306/saas_biz?characterEncoding=utf-8&useSSL=false&allowMultiQueries=true
  13. username: root
  14. password: select111***
  15. hikari:
  16. minimum-idle: 5
  17. maximum-pool-size: 50
  18. idle-timeout: 30000
  19. max-lifetime: 1800000
  20. connection-timeout: 30000
  21. messages:
  22. basename: i18n/messages
  23. rabbitmq:
  24. host: 10.1.81.75
  25. port: 5672
  26. virtual-host: dev
  27. username: saas
  28. password: select123***
  29. zipkin:
  30. sender:
  31. type: rabbit
  32. locator:
  33. discovery:
  34. enabled: true
  35. sleuth:
  36. sampler:
  37. probability: 1.0
  38. redis:
  39. host: 10.1.81.62
  40. port: 6379
  41. eureka:
  42. instance:
  43. leaseRenewalIntervalInSeconds: 10
  44. health-check-url-path: /actuator/health
  45. status-page-url-path: /actuator/info
  46. prefer-ip-address: true
  47. metadata-map:
  48. user.name: ${spring.security.user.name}
  49. user.password: ${spring.security.user.password}
  50. client:
  51. registryFetchIntervalSeconds: 5
  52. serviceUrl:
  53. defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@10.1.81.61:8510/eureka/
  54. management:
  55. endpoints:
  56. web:
  57. exposure:
  58. include: "*"
  59. endpoint:
  60. health:
  61. show-details: always
  62. server:
  63. port: 8800
  64. tomcat:
  65. uri-encoding: UTF-8
  66. info:
  67. name: '@project.artifactId@'
  68. description: '@project.description@'
  69. version: '@project.version@'
  70. spring-boot-version: '@spring.boot.version@'
  71. spring-cloud-version: '@spring.cloud.version@'
  72. mybatis:
  73. type-aliases-package: com.usoftchina.saas.purchase.po
  74. mapper-locations: classpath:mapper/*.xml
  75. auth:
  76. public-key: auth/pub.key
  77. ribbon:
  78. ReadTimeout: 5000
  79. ConnectTimeout: 5000
  80. feign:
  81. hystrix:
  82. enabled: true
  83. hystrix:
  84. command:
  85. default:
  86. execution:
  87. timeout:
  88. enabled: true
  89. isolation:
  90. thread:
  91. timeoutInMilliseconds: 4000
  92. b2b:
  93. baseUrl:
  94. inquiry: https://test-inquiry.uuzcc.cn
  95. Component: https://test-mall.uuzcc.cn
  96. product: http://test-product.uuzcc.cn
  97. uu: https://test-b2b.uuzcc.cn