Commit 993da03e authored by jianghaiming's avatar jianghaiming

update:添加生产配置

parent 5918f155
This diff is collapsed.
......@@ -7,6 +7,31 @@
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-gateway : gateway : common]
gateway.host="rs_bp_merchant_01.int.yidian-inc.com:27107,rs_bp_merchant_02.int.yidian-inc.com:27107,rs_bp_merchant_03.int.yidian-inc.com:27107"
gateway.uriOptions.username='rs_merchant_rw'
gateway.uriOptions.password='w#JR9tQOVud$jh43V7v#B9Bd#kD4w%'
gateway.uriOptions.replicaSet='rs_bp'
gateway.uriOptions.readPreference='secondaryPreferred'
gateway.uriOptions.connectTimeoutMS=500
gateway.uriOptions.socketTimeoutMS=6000
gateway.uriOptions.w=1
gateway.uriOptions.wTimeoutMS=3000
gateway.driverOptions.typeMap.root='array'
gateway.driverOptions.typeMap.document='array'
xhprof.host="rs_bp_merchant_01.int.yidian-inc.com:27107,rs_bp_merchant_02.int.yidian-inc.com:27107,rs_bp_merchant_03.int.yidian-inc.com:27107"
xhprof.uriOptions.username='rs_merchant_rw'
xhprof.uriOptions.password='w#JR9tQOVud$jh43V7v#B9Bd#kD4w%'
xhprof.uriOptions.replicaSet='rs_bp'
xhprof.uriOptions.readPreference='secondaryPreferred'
xhprof.uriOptions.connectTimeoutMS=500
xhprof.uriOptions.socketTimeoutMS=6000
xhprof.uriOptions.w=1
xhprof.uriOptions.wTimeoutMS=3000
xhprof.driverOptions.typeMap.root='array'
xhprof.driverOptions.typeMap.document='array'
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-gateway : prod-gateway : gateway : common]
......
......@@ -6,6 +6,15 @@
; 生产环境
[prod-merchant : merchant : common]
merchant.database_type='mysql'
merchant.database_name='merchant'
merchant.connect_timeout=10
merchant.username='bp_merchant_rw'
merchant.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
merchant.charset='utf8mb4'
merchant.write.host='w.bp_merchant.int.yidian-inc.com'
merchant.read.host='r.bp_merchant_1.int.yidian-inc.com,r.bp_merchant_2.int.yidian-inc.com'
; 预发环境
[perf-merchant : prod-merchant : merchant : common]
......@@ -84,3 +93,36 @@ goods.password='hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
goods.charset='utf8mb4'
goods.write.host='w.bp_test_mysql1.int.yidian-inc.com:3306'
goods.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[goods : common]
; 生产环境
[prod-goods : goods : common]
; 预发环境
[perf-goods : prod-goods : goods : common]
;测试环境
[test-goods : prod-goods : goods : common]
distribution.database_type='mysql'
distribution.database_name='distribution'
distribution.connect_timeout=10
distribution.username='bp_test_rw'
distribution.password='hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
distribution.charset='utf8mb4'
distribution.write.host='w.bp_test_mysql1.int.yidian-inc.com:3306'
distribution.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
;开发联调测试
[dev-goods : prod-goods : goods : common]
distribution.database_type='mysql'
distribution.database_name='distribution'
distribution.connect_timeout=10
distribution.username='bp_test_rw'
distribution.password='hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
distribution.charset='utf8mb4'
distribution.write.host='w.bp_test_mysql1.int.yidian-inc.com:3306'
distribution.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
\ No newline at end of file
......@@ -3,6 +3,16 @@
[gateway : common]
[prod-gateway : gateway : common]
cacheConnect.mode='codis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18134/topom'
cacheConnect.fallback=''
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none'
cacheConnect.prefix=''
[perf-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
......@@ -25,6 +35,24 @@ cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common]
cacheConnect.mode='codis'
cacheConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18135/topom'
cacheConnect.fallback=''
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none'
cacheConnect.prefix=''
countConnect.mode='codis'
countConnect.topom='bj2-e05-126-165-6-lg.yidian.com:18135/topom'
countConnect.fallback=''
countConnect.password=''
countConnect.select=0
countConnect.timeout=1
countConnect.serializer='none'
countConnect.prefix=''
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment