配置中心添加Git支持
This commit is contained in:
BIN
keystore.p12
BIN
keystore.p12
Binary file not shown.
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user