Spring Cloud构建微服务架构(四)配置管理config

This commit is contained in:
zhaiyongchao
2016-07-07 13:48:40 +08:00
parent b170265c55
commit 264bb328ab
@@ -1,6 +1,14 @@
spring.application.name=config-server
server.port=7001
spring.application.name=config-server
spring.profiles.active=native
spring.cloud.config.server.git.uri=http://git.oschina.net/didispace/SpringBoot-Learning/
spring.cloud.config.server.git.searchPaths=Chapter9-1-4
spring.cloud.config.server.git.username=username
spring.cloud.config.server.git.password=password
# 开启本地配置
#spring.profiles.active=native
#spring.cloud.config.server.git.uri=file://${user.home}/config-repo