From 264bb328ab105b73298e91bb8f6d13f25028a256 Mon Sep 17 00:00:00 2001 From: zhaiyongchao Date: Thu, 7 Jul 2016 13:48:40 +0800 Subject: [PATCH] =?UTF-8?q?Spring=20Cloud=E6=9E=84=E5=BB=BA=E5=BE=AE?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=9E=B6=E6=9E=84=EF=BC=88=E5=9B=9B=EF=BC=89?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.properties | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Chapter9-1-4/config-server/src/main/resources/application.properties b/Chapter9-1-4/config-server/src/main/resources/application.properties index c088c4c..99a8cb2 100644 --- a/Chapter9-1-4/config-server/src/main/resources/application.properties +++ b/Chapter9-1-4/config-server/src/main/resources/application.properties @@ -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