Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
config_repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
config_repository
Commits
50db106d
Commit
50db106d
authored
Dec 17, 2018
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
32b5aa83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
2 deletions
+43
-2
xyqb-h5-backend.js
nodejs/xyqb-h5-backend.js
+43
-2
No files found.
nodejs/xyqb-h5-backend.js
View file @
50db106d
...
@@ -23,6 +23,45 @@ module.exports = {
...
@@ -23,6 +23,45 @@ module.exports = {
api
:
'
redis://redis:6379/1
'
api
:
'
redis://redis:6379/1
'
},
},
//极速版
appbackend_redis
:
{
// host: 'appbackend-redis1.quantgroups.com',
// port: 6379
sentinels
:
[
{
host
:
'
appbackend-redis1.quantgroups.com
'
,
port
:
26379
},
{
host
:
'
appbackend-redis2.quantgroups.com
'
,
port
:
26379
},
{
host
:
'
appbackend-redis3.quantgroups.com
'
,
port
:
26379
}
],
name
:
'
mymaster
'
},
xyqbapiServer
:
{
root
:
'
http://api.domain.com
'
,
loanHomeStatus
:
'
/v3/speed/app/home_status
'
,
receiveToken2
:
'
/ex/login/receive_token2
'
,
},
blankNote
:
{
root
:
'
http://btapi.xyqb.com
'
,
receiveToken
:
'
/ex/login/btreceive_token
'
,
},
// Secret for session, you will want to change this and make it an environment variable
secrets
:
{
session
:
'
xyqb-app-api-secret
'
,
salt
:
'
_lkb
'
},
gateway
:
{
secretKey
:
'
z-user-secret
'
,
phoneKey
:
'
z-user-phone-no
'
,
secretValue
:
'
z.h,w44RXMu4XL#dq_%@ZX,u*gd]zVhmdks@H8krq*Gn-CC:6>YTHX_Kh=_#D7LR
'
},
passport
:
{
host
:
'
http://passportapi.domain.com
'
},
log4js
:
{
log4js
:
{
appenders
:
{
appenders
:
{
out
:
{
type
:
'
stdout
'
},
out
:
{
type
:
'
stdout
'
},
...
@@ -60,4 +99,6 @@ module.exports = {
...
@@ -60,4 +99,6 @@ module.exports = {
api
:
'
zookeeper:2181
'
,
api
:
'
zookeeper:2181
'
,
znode
:
[
'
/grpc/help_center
'
]
znode
:
[
'
/grpc/help_center
'
]
},
},
accessOrigin
:
[
"
.xyqb.com
"
,
"
.q-gp.com
"
,
"
.quantgroup.cn
"
,
"
.liangkebang.com
"
]
}
}
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