...
|
...
|
@@ -14,6 +14,7 @@ require('http').globalAgent.maxSockets = 10; |
|
|
|
|
|
module.exports = {
|
|
|
app: 'web',
|
|
|
appName: 'yohobuy-node',
|
|
|
appVersion: '5.8.0', // 调用api的版本
|
|
|
port: 6002,
|
|
|
siteUrl: 'http://www.yohobuy.com',
|
...
|
...
|
@@ -72,8 +73,8 @@ module.exports = { |
|
|
index: '//yohobuy.com'
|
|
|
},
|
|
|
report: {
|
|
|
host: '10.66.0.139',
|
|
|
port: 8086,
|
|
|
host: 'localhost',
|
|
|
port: 6009,
|
|
|
db: 'web-apm'
|
|
|
},
|
|
|
useOneapm: false,
|
...
|
...
|
@@ -187,7 +188,7 @@ module.exports = { |
|
|
|
|
|
if (isProduction) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'www.yohobuy.com',
|
|
|
appName: 'yohobuy-node',
|
|
|
domains: {
|
|
|
singleApi: 'http://single.yoho.cn/',
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
...
|
...
|
@@ -241,14 +242,14 @@ if (isProduction) { |
|
|
}
|
|
|
},
|
|
|
report: {
|
|
|
host: 'influxdblog.web.yohoops.org',
|
|
|
port: 8086,
|
|
|
host: 'badjs.yoho.cn',
|
|
|
port: 80,
|
|
|
db: 'web-apm'
|
|
|
}
|
|
|
});
|
|
|
} else if (isTest) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'www.yohobuy.com for test',
|
|
|
appName: 'yohobuy-node',
|
|
|
domains: {
|
|
|
singleApi: process.env.TEST_API || 'http://192.168.102.31:8092/brower',
|
|
|
api: process.env.TEST_API || 'http://testapi.yoho.cn:28078/',
|
...
|
...
|
|