bootstrap.yml 873 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. spring:
  2. application:
  3. name: ag-basic
  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@192.0.33.26: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:jwdev}
  33. ---
  34. spring:
  35. profiles: jwprod
  36. cloud:
  37. config:
  38. uri: ${wlyy.pring.config.uri:http://192.0.33.26:1221}
  39. label: ${wlyy.spring.config.label:jwprod}