bootstrap.yml 887 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. spring:
  2. application:
  3. name: svr-authentication
  4. cloud:
  5. config:
  6. failFast: true
  7. username: jw
  8. password: jkzl
  9. #发现服务
  10. eureka:
  11. client:
  12. healthcheck:
  13. enabled: false #监控检查
  14. serviceUrl:
  15. defaultZone: http://jw:jkzl@172.26.0.107:8761/eureka/
  16. instance:
  17. prefer-ip-address: false
  18. instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  19. ---
  20. spring:
  21. profiles: jwdev
  22. cloud:
  23. config:
  24. uri: ${wlyy.spring.config.uri:http://172.26.0.107:1221}
  25. label: ${wlyy.spring.config.label:jwdev}
  26. ---
  27. spring:
  28. profiles: jwtest
  29. cloud:
  30. config:
  31. uri: ${wlyy.spring.config.uri:http://172.26.0.107:1221}
  32. label: ${wlyy.spring.config.label:jwtest}
  33. ---
  34. spring:
  35. profiles: jwprod
  36. cloud:
  37. config:
  38. uri: ${wlyy.spring.config.uri:http://172.26.0.107:1221}
  39. label: ${wlyy.spring.config.label:jwprod}