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
993da03e
Commit
993da03e
authored
Jun 18, 2021
by
jianghaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:添加生产配置
parent
5918f155
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
164 additions
and
52 deletions
+164
-52
interface.ini
interface.ini
+68
-51
mongo.ini
mongo.ini
+25
-0
mysql.ini
mysql.ini
+43
-1
redis.ini
redis.ini
+28
-0
No files found.
interface.ini
View file @
993da03e
This diff is collapsed.
Click to expand it.
mongo.ini
View file @
993da03e
...
@@ -7,6 +7,31 @@
...
@@ -7,6 +7,31 @@
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-gateway : gateway : 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 + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-gateway : prod-gateway : gateway : common]
[perf-gateway : prod-gateway : gateway : common]
...
...
mysql.ini
View file @
993da03e
...
@@ -6,6 +6,15 @@
...
@@ -6,6 +6,15 @@
; 生产环境
; 生产环境
[prod-merchant : merchant : common]
[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]
[perf-merchant : prod-merchant : merchant : common]
...
@@ -83,4 +92,37 @@ goods.username='bp_test_rw'
...
@@ -83,4 +92,37 @@ goods.username='bp_test_rw'
goods.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
goods.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
goods.charset
=
'utf8mb4'
goods.charset
=
'utf8mb4'
goods.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
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.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
[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
redis.ini
View file @
993da03e
...
@@ -3,6 +3,16 @@
...
@@ -3,6 +3,16 @@
[gateway : common]
[gateway : common]
[prod-gateway : 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]
[perf-gateway : gateway : common]
[test-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
...
@@ -25,6 +35,24 @@ cacheConnect.prefix=''
...
@@ -25,6 +35,24 @@ cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : 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 + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
[perf-merchant : prod-merchant : merchant : common]
...
...
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