bootstrap.yml 882 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. spring:
  2. application:
  3. name: cloud-yysj-product-check
  4. banner:
  5. location: classpath:config/banner.txt
  6. sleuth:
  7. sampler:
  8. probability: 0.1
  9. web:
  10. additional-skip-pattern: /api/v2/spans
  11. zipkin:
  12. base-url: http://127.0.0.1:${server.port}
  13. output:
  14. ansi:
  15. enabled: DETECT
  16. http:
  17. encoding:
  18. force: true
  19. enabled: true
  20. charset: UTF-8
  21. main:
  22. allow-bean-definition-overriding: true
  23. cloud:
  24. kubernetes:
  25. config:
  26. sources:
  27. - name: ${spring.application.name}
  28. namespace: cloud-yysj
  29. server:
  30. port: 8080
  31. management:
  32. server:
  33. port: 8081
  34. endpoint:
  35. restart:
  36. enabled: true
  37. health:
  38. show-details: always
  39. endpoints:
  40. enabled-by-default: true
  41. web:
  42. exposure:
  43. include: "*"
  44. info:
  45. name: 云验平台二级网关
  46. version: '@project.version@'