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
581fdba2
Commit
581fdba2
authored
Jan 03, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change xyqb-h5-backend config
parent
5dd061ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
24 deletions
+27
-24
xyqb-h5-backend.js
nodejs/xyqb-h5-backend.js
+27
-24
No files found.
nodejs/xyqb-h5-backend.js
View file @
581fdba2
const
path
=
require
(
'
path
'
)
const
path
=
require
(
'
path
'
)
const
logDir
=
path
.
resolve
(
process
.
cwd
(),
'
.
.
/logs
'
)
const
logDir
=
path
.
resolve
(
process
.
cwd
(),
'
./logs
'
)
module
.
exports
=
{
module
.
exports
=
{
port
:
80
,
api
:
{
api
:
{
passport_api
:
'
http://xyqb-user
'
,
passport_api
:
'
http://xyqb-user
'
,
xjd_api
:
'
http://xyqb
'
,
xjd_api
:
'
http://xyqb
'
,
redpacket_api
:
'
http://redpacket
'
,
redpacket_api
:
'
http://redpacket
'
,
...
@@ -13,34 +14,15 @@ module.exports = {
...
@@ -13,34 +14,15 @@ module.exports = {
flow_api
:
'
http://traffic-webapp
'
,
flow_api
:
'
http://traffic-webapp
'
,
mall_api
:
'
http://xyqb-mall
'
,
mall_api
:
'
http://xyqb-mall
'
,
bt_api
:
'
http://baitiao
'
bt_api
:
'
http://baitiao
'
},
site
:
{
env
:
'
development
'
,
port
:
80
},
mongo
:
{
appbackend_api
:
'
http://app-backend
'
,
options
:
{
pay_api
:
'
http://gu-bei
'
},
api
:
'
mongodb://192.168.4.50:27017/h5_xyqb
'
},
},
redis
:
{
redis
:
{
api
:
'
redis://redis:6379/1
'
api
:
'
redis://redis:6379/1
'
},
},
rabbitmq
:
{
mall_api
:
'
amqp://qa:qatest@rabbitmq:5672/mall
'
},
qiniu
:
{
domain
:
'
https://mapi.xyqb.com
'
,
ACCESS_KEY
:
'
QyjX3i2tEMvrv50j6M_wpb9YoFJbxSm3jEkOj9lY
'
,
SECRET_KEY
:
'
uoMTzRLoElTAKXVzelGgTvI652zJ8bCz_qqTtoGl
'
,
BUCKET
:
'
app-sync
'
,
},
log4js
:
{
log4js
:
{
appenders
:
{
appenders
:
{
out
:
{
type
:
'
stdout
'
},
out
:
{
type
:
'
stdout
'
},
...
@@ -52,4 +34,25 @@ module.exports = {
...
@@ -52,4 +34,25 @@ module.exports = {
default
:
{
appenders
:
[
'
out
'
,
'
app
'
,
'
just_errors
'
],
level
:
'
info
'
}
default
:
{
appenders
:
[
'
out
'
,
'
app
'
,
'
just_errors
'
],
level
:
'
info
'
}
}
}
},
},
};
qiniu
:
{
domain
:
'
https://mapi.xyqb.com
'
,
ACCESS_KEY
:
'
e2S74rOnpqNz1rkZRdgY45c8L988PoARRQ60_6-t
'
,
SECRET_KEY
:
'
YYtAEZ2bPDiyNLt2qLKGpaEp0-Thq8tGLrqlBgxY
'
,
BUCKET
:
'
app-sync
'
,
},
mongo
:
{
api
:
'
mongodb://192.168.4.50:27017/h5_xyqb
'
},
ocr
:
{
auth_api
:
'
http://139.198.2.95:38099/auth-center/api/ocr/h5/auth_url.json
'
,
query_api
:
'
http://139.198.2.95:38099/auth-center/h5/api/ocr/auth.json
'
,
key
:
'
wd8bRaLf1nbiMDvPpM1fP9sA2mVSmmpy
'
},
rabbitmq
:
{
mall_api
:
'
amqp://qa:qatest@rabbitmq:5672/mall
'
}
}
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