配置中心添加Git支持

This commit is contained in:
macro
2019-10-23 17:26:26 +08:00
parent ad78ed7910
commit 4260176b54
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View File

@@ -4,12 +4,17 @@ spring:
application:
name: mall-config
profiles:
active: native #使用本地配置
active: native #使用本地配置要使用git存储改为git即可
cloud:
config:
server:
native:
native: #本地仓库存储
search-locations: classpath:/config/{application}
git: #Git仓库存储
uri: https://gitee.com/macrozheng/mall-config.git
username: macro
password: 123456
clone-on-start: true
eureka:
client:
service-url: