...
|
...
|
@@ -13,28 +13,27 @@ module.exports = { |
|
|
port: 6001,
|
|
|
siteUrl: 'http://m.yohobuy.com',
|
|
|
domains: {
|
|
|
api: 'http://192.168.102.205:8080/gateway/', // http://devapi.yoho.cn:58078/ http://testapi.yoho.cn:28078/ http://192.168.102.205:8080/gateway/
|
|
|
api: 'http://testapi.yoho.cn:28078/',
|
|
|
service: 'http://testservice.yoho.cn:28077/',
|
|
|
search: 'http://192.168.10.64:8080/yohosearch/'
|
|
|
},
|
|
|
useOneapm: false,
|
|
|
useCache: false,
|
|
|
memcache: {
|
|
|
master: ['192.168.102.168:12580'],
|
|
|
slave: ['192.168.102.168:12580'],
|
|
|
session: ['192.168.102.168:12580'],
|
|
|
timeout: 5000
|
|
|
master: ['192.168.102.161:11213'],
|
|
|
slave: ['192.168.102.161:11213'],
|
|
|
session: ['192.168.102.161:11213'],
|
|
|
timeout: 3000
|
|
|
},
|
|
|
loggers: {
|
|
|
infoFile: {
|
|
|
name: 'info',
|
|
|
level: 'info',
|
|
|
filename: 'log/info.log'
|
|
|
filename: 'logs/info.log'
|
|
|
},
|
|
|
errorFile: {
|
|
|
name: 'error',
|
|
|
level: 'error',
|
|
|
filename: 'log/error.log',
|
|
|
filename: 'logs/error.log',
|
|
|
handleExceptions: true
|
|
|
},
|
|
|
udp: { // send by udp
|
...
|
...
|
@@ -53,6 +52,16 @@ module.exports = { |
|
|
if (isProduction) {
|
|
|
Object.assign(module.exports, {
|
|
|
appName: 'm.yohobuy.com',
|
|
|
domains: {
|
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/'
|
|
|
},
|
|
|
memcache: {
|
|
|
master: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
|
|
|
slave: ['172.31.22.1:12112', '172.31.20.56:12112', '172.31.31.146:12112'],
|
|
|
session: ['172.31.22.1:12111', '172.31.20.56:12111', '172.31.31.146:12111'],
|
|
|
timeout: 3000
|
|
|
},
|
|
|
useOneapm: true,
|
|
|
useCache: true
|
|
|
});
|
...
|
...
|
|