Commit de820d5e authored by 顾文旭's avatar 顾文旭

redis ip connect

parent c370404b
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
[prod-gateway : gateway : common] [prod-gateway : gateway : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -39,9 +39,9 @@ cacheConnect.prefix='' ...@@ -39,9 +39,9 @@ cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置 ;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common] [prod-merchant : merchant : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -72,9 +72,9 @@ cacheConnect.prefix='' ...@@ -72,9 +72,9 @@ cacheConnect.prefix=''
[prod-interaction : interaction : common] [prod-interaction : interaction : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -103,9 +103,9 @@ cacheConnect.prefix='' ...@@ -103,9 +103,9 @@ cacheConnect.prefix=''
[prod-goods : goods : common] [prod-goods : goods : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -131,9 +131,9 @@ cacheConnect.prefix='' ...@@ -131,9 +131,9 @@ cacheConnect.prefix=''
[prod-order : order : common] [prod-order : order : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -159,9 +159,9 @@ cacheConnect.prefix='' ...@@ -159,9 +159,9 @@ cacheConnect.prefix=''
[prod-coupon : coupon : common] [prod-coupon : coupon : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -189,9 +189,9 @@ cacheConnect.prefix='' ...@@ -189,9 +189,9 @@ cacheConnect.prefix=''
[prod-wallet : wallet : common] [prod-wallet : wallet : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
...@@ -218,9 +218,9 @@ cacheConnect.prefix='' ...@@ -218,9 +218,9 @@ cacheConnect.prefix=''
[prod-account : account : common] [prod-account : account : common]
cacheConnect.mode='redis' cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.master='10.9.67.102:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379' cacheConnect.address.slave='10.9.67.102:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379' cacheConnect.fallback='10.9.67.102:6379'
cacheConnect.password='' cacheConnect.password=''
cacheConnect.select=0 cacheConnect.select=0
cacheConnect.timeout=1 cacheConnect.timeout=1
......
[common]
[gateway : common]
[prod-gateway : gateway : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-gateway : prod-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-gateway : test-gateway : gateway : common]
;商户项目配置
;商户项目继承common + 自己的配置,此节中配置会覆盖父级的相同配置(不区分环境)
[merchant : common]
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
[test-merchant : prod-merchant : merchant : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-merchant : test-merchant : prod-merchant : merchant : common]
[interaction : common]
[prod-interaction : interaction : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-interaction : prod-interaction : interaction : common]
[test-interaction : interaction : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-interaction : test-interaction : interaction : common]
[goods : common]
[prod-goods : goods : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-goods : prod-goods : goods : common]
[test-goods : goods : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-goods : test-goods : goods : common]
[order : common]
[prod-order : order : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-order : prod-order : order : common]
[test-order : order : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-order : test-order : order : common]
[coupon : common]
[prod-coupon : coupon : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-order : prod-coupon : coupon : common]
[test-order : coupon : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-coupon : test-coupon : coupon : common]
;钱包redis
[wallet : common]
[prod-wallet : wallet : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-wallet : prod-wallet : wallet : common]
[test-wallet : wallet : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-wallet : test-wallet : wallet : common]
;钱包redis
[account : common]
[prod-account : account : common]
cacheConnect.mode='redis'
cacheConnect.address.master='bp.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[perf-account : prod-account : account : common]
[test-account : account : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode='redis'
cacheConnect.address.master='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.address.slave='bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379,bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.fallback='bp-test.redis.jwshq-inc.cn:6379'
cacheConnect.password=''
cacheConnect.select=0
cacheConnect.timeout=1
cacheConnect.serializer='none|php|igbinary|msgpack'
cacheConnect.prefix=''
[dev-account : test-account : account : common]
\ No newline at end of file
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