bootstrap.yml 585 B

12345678910111213141516171819202122
  1. server: 124.71.171.71
  2. #port: 9876
  3. #server: 10.199.10.10
  4. port: 9999
  5. #spring:
  6. # cloud:
  7. # config:
  8. # profile: test
  9. # label: feature-20180424
  10. # discovery:
  11. # enabled: true
  12. # serviceId: cap-config
  13. # failFast: true
  14. eureka:
  15. instance:
  16. prefer-ip-address: true #配置是否显示ip地址,默认为false
  17. instance-id: ${server}:${server.port} #注册服务列表显示ip+端口
  18. client:
  19. serviceUrl:
  20. defaultZone: http://${server}:${port}/eureka
  21. #enabled: false