1-3配置中心(11:09)
配置本地读取,怎么没有写过client-dev.yml,老师从哪里放进去的?诶
配置本地读取,怎么没有写过client-dev.yml,老师从哪里放进去的?诶
2020-03-09
加载的是一个本地目录,
server端配置
spring: profiles: active: native cloud: config: server: native: search-locations: C:/Users/Administrator/IdeaProjects/springcloud-study01/_conf
client-dev.yml 对应客户端配置:{name}-{profile}.yml
spring: application: name: client cloud: uri: http://localhost:8081 profile: dev
client-dev.yml
存储的是配置信息,
user: south
举报