Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yaconf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
yaconf
Commits
de820d5e
Commit
de820d5e
authored
Nov 22, 2021
by
顾文旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis ip connect
parent
c370404b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
266 additions
and
24 deletions
+266
-24
redis.ini
redis.ini
+24
-24
redis.ym.ini
redis.ym.ini
+242
-0
No files found.
redis.ini
View file @
de820d5e
...
...
@@ -4,9 +4,9 @@
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -39,9 +39,9 @@ cacheConnect.prefix=''
;商户项目继承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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -72,9 +72,9 @@ cacheConnect.prefix=''
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -103,9 +103,9 @@ cacheConnect.prefix=''
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -131,9 +131,9 @@ cacheConnect.prefix=''
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -159,9 +159,9 @@ cacheConnect.prefix=''
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -189,9 +189,9 @@ cacheConnect.prefix=''
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
@@ -218,9 +218,9 @@ cacheConnect.prefix=''
[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.address.master
=
'
10.9.67.102
:6379'
cacheConnect.address.slave
=
'
10.9.67.102
:6379'
cacheConnect.fallback
=
'
10.9.67.102
:6379'
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
...
...
redis.ym.ini
0 → 100644
View file @
de820d5e
[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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment