spring: application: name: ag-basic cloud: config: failFast: true username: jw password: jkzl #发现服务 eureka: client: healthcheck: enabled: false #监控检查 serviceUrl: defaultZone: http://jw:jkzl@192.0.33.26:8761/eureka/ instance: prefer-ip-address: false instance-id: ${spring.cloud.client.ipAddress}:${server.port} --- spring: profiles: jwdev cloud: config: uri: ${wlyy-spring.config.uri:http://172.26.0.107:1221} label: ${wlyy-spring.config.label:jwdev} --- spring: profiles: jwtest cloud: config: uri: ${wlyy-spring.config.uri:http://172.26.0.107:1221} label: ${wlyy-spring.config.label:jwdev} --- spring: profiles: jwprod cloud: config: uri: ${wlyy.pring.config.uri:http://192.0.33.26:1221} label: ${wlyy.spring.config.label:master}