1234567891011121314151617181920212223242526 |
- ##优先读取 boostarap配置 然后在读取application。yml的配置
- spring:
- application:
- name: svr-zipkin
- #从发现服务里面取配置服务的信息
- cloud:
- config:
- failFast: true #启动快速失败 即链接不到配置服务就启动失败
- username: jw
- password: jkzl
- ---
- spring:
- profiles: jwdev
- cloud:
- config:
- uri: ${wlyy.spring.config.uri:http://172.17.110.212:1221}
- label: ${wlyy.spring.config.label:jwdev}
- ---
- spring:
- profiles: jwtest
- cloud:
- config:
- uri: ${wlyy.pring.config.uri:http://172.17.110.212:1221}
- label: ${wlyy.spring.config.label:jwdev}
|