From ee4acf91f5fa67beb03ca6be9b05fd9529af92d8 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Fri, 22 Apr 2016 15:45:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-job-index/src/main/resources/database.properties | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/platform-job-index/src/main/resources/database.properties b/platform-job-index/src/main/resources/database.properties index 04c00e2..811b34a 100644 --- a/platform-job-index/src/main/resources/database.properties +++ b/platform-job-index/src/main/resources/database.properties @@ -2,9 +2,9 @@ #mongo.db.port=27017 #mongo.db.dbname=platform -mongo.db.host=localhost -mongo.db.port=27017 -mongo.db.dbname=platform +mongo.db.host=${mongo.db.host} +mongo.db.port=${mongo.db.port} +mongo.db.dbname=${mongo.db.dbname} mongo.db.username=root mongo.db.password=root @@ -27,15 +27,15 @@ mongo.dbname=platform maindata.driver=com.mysql.jdbc.Driver -maindata.jdbcurl=jdbc:mysql://192.168.5.250:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 -maindata.username=platform -maindata.password=platform123 +maindata.jdbcurl=${mysql.jdbcurl} +maindata.username=${mysql.db.name} +maindata.password=${mysql.db.password} maindata.maxpoolsize=5 maindata.initialpoolsize=2 maindata.minpoolsize=2 -redis.servers=192.168.5.250:6379:mommybaby123 +redis.servers=${redis.servers} token.prefix=member -- 1.8.3.1