各个服务器从127.0.0.1改为dbserver,rdserver,zkserver,mqserver
This commit is contained in:
parent
117ba59f16
commit
945aa46d8a
|
@ -212,6 +212,10 @@ Spring+SpringMVC+Mybatis框架集成公共模块,包括公共配置、MybatisG
|
|||
- 127.0.0.1 api.zhangshuzheng.cn
|
||||
- 127.0.0.1 oss.zhangshuzheng.cn
|
||||
|
||||
- 127.0.0.1 zkserver
|
||||
- 127.0.0.1 rdserver
|
||||
- 127.0.0.1 dbserver
|
||||
- 127.0.0.1 mqserver
|
||||
### 编译流程
|
||||
|
||||
maven编译安装zheng/pom.xml文件即可
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
|
||||
|
||||
<dubbo:registry file="./zheng-api-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-api-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-api-rpc-service"/>
|
||||
|
||||
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<dubbo:protocol name="dubbo" port="20880"/>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-api-server"/>
|
||||
|
||||
<dubbo:registry file="./zheng-api-server-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-api-server-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-api-server
|
|||
profile.env=dev
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
||||
|
||||
##### zheng-admin #####
|
||||
zheng.admin.version=1.0.0
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-api-server
|
|||
profile.env=prod
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
||||
|
||||
##### zheng-admin #####
|
||||
zheng.admin.version=1.0.0
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-api-server
|
|||
profile.env=test
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
||||
|
||||
##### zheng-admin #####
|
||||
zheng.admin.version=1.0.0
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-cms-admin"/>
|
||||
|
||||
<dubbo:registry file="./zheng-cms-admin-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-cms-admin-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-cms-admin
|
|||
profile.env=dev
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
@ -11,7 +11,7 @@ master.redis.max_wait=10000
|
|||
master.redis.timeout=10000
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
||||
|
||||
##### zheng-admin #####
|
||||
zheng.admin.version=1.0.0
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-cms-admin
|
|||
profile.env=prod
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
@ -11,7 +11,7 @@ master.redis.max_wait=10000
|
|||
master.redis.timeout=10000
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
||||
|
||||
##### zheng-admin #####
|
||||
zheng.admin.version=1.0.0
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-cms-admin
|
|||
profile.env=test
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
@ -11,7 +11,7 @@ master.redis.max_wait=10000
|
|||
master.redis.timeout=10000
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
||||
|
||||
##### zheng-admin #####
|
||||
zheng.admin.version=1.0.0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
generator.jdbc.driver=com.mysql.jdbc.Driver
|
||||
generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.username=root
|
||||
generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-cms-job"/>
|
||||
|
||||
<dubbo:registry file="./zheng-cms-job-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-cms-job-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -2,4 +2,4 @@ app.name=zheng-cms-job
|
|||
profile.env=dev
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
|
@ -2,4 +2,4 @@ app.name=zheng-cms-job
|
|||
profile.env=prod
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
|
@ -2,4 +2,4 @@ app.name=zheng-cms-job
|
|||
profile.env=test
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
|
@ -1,3 +1,3 @@
|
|||
#dubbo.application.name=zheng-cms-rpc-service
|
||||
#dubbo.registry.address=zookeeper://127.0.0.1:2181
|
||||
#dubbo.registry.address=zookeeper://zkserver:2181
|
||||
#dubbo.protocol.port=20882
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-cms-rpc-service"/>
|
||||
|
||||
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<dubbo:protocol name="dubbo" port="20882"/>
|
||||
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=dev
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=prod
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=test
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-cms-search"/>
|
||||
|
||||
<dubbo:registry file="./zheng-cms-search-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-cms-search-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-cms-web"/>
|
||||
|
||||
<dubbo:registry file="./zheng-cms-web-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-cms-web-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -3,7 +3,7 @@ profile.env=dev
|
|||
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
@ -12,4 +12,4 @@ master.redis.max_wait=10000
|
|||
master.redis.timeout=10000
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
|
@ -3,7 +3,7 @@ profile.env=prod
|
|||
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
@ -12,4 +12,4 @@ master.redis.max_wait=10000
|
|||
master.redis.timeout=10000
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
|
@ -3,7 +3,7 @@ profile.env=test
|
|||
zheng.ui.path=http://ui.zhangshuzheng.cn:1000/
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
@ -12,4 +12,4 @@ master.redis.max_wait=10000
|
|||
master.redis.timeout=10000
|
||||
|
||||
##### activeMq #####
|
||||
AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0)
|
||||
AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0)
|
|
@ -1,3 +1,3 @@
|
|||
#dubbo.application.name=zheng-pay-rpc-service
|
||||
#dubbo.registry.address=zookeeper://127.0.0.1:2181
|
||||
#dubbo.registry.address=zookeeper://zkserver:2181
|
||||
#dubbo.protocol.port=20883
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-demo-web"/>
|
||||
|
||||
<dubbo:registry file="./zheng-demo-web-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-demo-web-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -3,7 +3,7 @@ profile.env=dev
|
|||
zheng.admin.version=1.0.0
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,7 +3,7 @@ profile.env=prod
|
|||
zheng.admin.version=1.0.0
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,7 +3,7 @@ profile.env=test
|
|||
zheng.admin.version=1.0.0
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
generator.jdbc.driver=com.mysql.jdbc.Driver
|
||||
generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.username=root
|
||||
generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
|
@ -1,3 +1,3 @@
|
|||
#dubbo.application.name=zheng-pay-rpc-service
|
||||
#dubbo.registry.address=zookeeper://127.0.0.1:2181
|
||||
#dubbo.registry.address=zookeeper://zkserver:2181
|
||||
#dubbo.protocol.port=20883
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-pay-rpc-service"/>
|
||||
|
||||
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<dubbo:protocol name="dubbo" port="20883"/>
|
||||
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=dev
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=prod
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=test
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
generator.jdbc.driver=com.mysql.jdbc.Driver
|
||||
generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.username=root
|
||||
generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
|
@ -1,3 +1,3 @@
|
|||
#dubbo.application.name=zheng-ucenter-rpc-service
|
||||
#dubbo.registry.address=zookeeper://127.0.0.1:2181
|
||||
#dubbo.registry.address=zookeeper://zkserver:2181
|
||||
#dubbo.protocol.port=20884
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-ucenter-rpc-service"/>
|
||||
|
||||
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<dubbo:protocol name="dubbo" port="20884"/>
|
||||
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=dev
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=prod
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=test
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-ucenter-web"/>
|
||||
|
||||
<dubbo:registry file="./zheng-ucenter-web-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-ucenter-web-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
generator.jdbc.driver=com.mysql.jdbc.Driver
|
||||
generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
generator.jdbc.username=root
|
||||
generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
|
@ -1,3 +1,3 @@
|
|||
#dubbo.application.name=zheng-upms-rpc-service
|
||||
#dubbo.registry.address=zookeeper://127.0.0.1:2181
|
||||
#dubbo.registry.address=zookeeper://zkserver:2181
|
||||
#dubbo.protocol.port=20881
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-upms-rpc-service"/>
|
||||
|
||||
<dubbo:registry address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<dubbo:protocol name="dubbo" port="20881"/>
|
||||
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=dev
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=prod
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -3,16 +3,16 @@ profile.env=test
|
|||
|
||||
##### jdbc #####
|
||||
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.master.jdbc.username=root
|
||||
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
|
||||
datasource.slave.jdbc.username=root
|
||||
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<dubbo:application name="zheng-upms-server"/>
|
||||
|
||||
<dubbo:registry file="./zheng-upms-server-dubbo.cache" address="zookeeper://127.0.0.1:2181"/>
|
||||
<dubbo:registry file="./zheng-upms-server-dubbo.cache" address="zookeeper://zkserver:2181"/>
|
||||
|
||||
<!-- 订阅服务 -->
|
||||
<dubbo:consumer check="false"/>
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-upms-server
|
|||
profile.env=dev
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-upms-server
|
|||
profile.env=prod
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -2,7 +2,7 @@ app.name=zheng-upms-server
|
|||
profile.env=test
|
||||
|
||||
##### redis #####
|
||||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
master.redis.ip=127.0.0.1
|
||||
master.redis.ip=rdserver
|
||||
master.redis.port=6379
|
||||
master.redis.password=FNFl9F2O2Skb8yoKM0jhHA==
|
||||
master.redis.max_active=500
|
||||
|
|
Loading…
Reference in New Issue