12345678910111213141516171819202122 |
- server: 124.71.171.71
- #port: 9876
- #server: 10.199.10.10
- port: 9999
- #spring:
- # cloud:
- # config:
- # profile: test
- # label: feature-20180424
- # discovery:
- # enabled: true
- # serviceId: cap-config
- # failFast: true
- eureka:
- instance:
- prefer-ip-address: true #配置是否显示ip地址,默认为false
- instance-id: ${server}:${server.port} #注册服务列表显示ip+端口
- client:
- serviceUrl:
- defaultZone: http://${server}:${port}/eureka
- #enabled: false
|