Commit b0944918 authored by tong.li's avatar tong.li

Merge branch 'master' of git.quantgroup.cn:QA/config_repository

parents 2c61c1a4 90b3346e
......@@ -63,6 +63,16 @@ module.exports = {
}
},
mysql: {
risk_data_statistics: {
host: '172.20.6.10',
port: 9030,
user: 'monitor',
password: 'monitor0302',
database: 'risk_data_statistics'
}
},
// redis配置
redis: {
api: 'redis://redis:6379/1'
......
// 和环境有关的配置
var path = require("path");
module.exports = {
// controller中请求各类数据前缀和域名的键值对
api: {
merchantBackend_api: 'http://merchantapi.domain.com',
redpacket_api: 'http://redpacket.domain.com',
app_api: 'http://sappbackend.domain.com',
btCapital_api: 'http://fundmanage.domain.com',
btDirect_api: 'http://internal.btzt.domain.com',
boHai_api: 'http://fundmanage.domain.com',
es_api: 'http://172.20.2.130:9200',
sms_api: 'http://backend.domain.com',
userCenter_api: 'http://passportapi2.domain.com',
zbj_api: 'http://taurus.quantgroup.cn/',
//ynTrust_api: 'http://target_host_name:7034',
gdxd_api: 'http://gyxd.domain.com',
msgTmp_api: 'http://192.168.4.3:8051',
msgPush_api: 'http://message-center-op',
statistics_api: 'http://statisticsapi.domain.com',
clotho_api: 'http://clotho.domain.com',
fe_es_api: 'http://192.168.4.51:9200',
merchant_api: 'http://merchantapi.domain.com',
settlement_api: 'http://settlementapi.domain.com',
score_api: 'http://scoreapi.domain.com',
quantcube_api: 'http://quantcube-api.domain.com',
ruleEngine_api: 'http://rule-engine.domain.com',
lzs_api: 'http://qg-ai-calc.domain.com',
smsList_api: 'http://172.30.4.68:25003',
asset_api: 'http://assentapi.domain.com',
// riskManager_api: 'http://rc.quantgroup.cn'
riskManager_api: 'http://rc.domain.com'
},
behaviorLogPath: '../logs/op-api-behavior.log',
// 站点相关的配置
site: {
env: 'development',
port: 80
},
userCenter: 'http://op.domain.com',
newUserCenter: 'http://op.domain.com',
// mongo配置
mongo: {
options: {
options: {
auto_reconnect: true,
poolSize: 3,
socketOptions: {
keepAlive: 300000,
connectTimeoutMS: 30000
}
},
},
api: {
'implied': 'mongodb://192.168.4.50:27017/op',
'xyqb': 'mongodb://192.168.4.50:27017/h5_xyqb',
'loan': 'mongodb://192.168.4.50:27017/loan',
'ka_factory': 'mongodb://192.168.4.50:27017/ka_factory'
}
},
mysql: {
risk_data_statistics: {
host: '62.234.200.51',
port: 3306,
user: 'root',
password: 'qatest',
database: 'risk_data_statistics'
}
},
// redis配置
redis: {
api: 'redis://redis:6379/1'
},
// 七牛配置
qiniu: {
domain: 'http://opapi.domain.com',
cdn_domain: 'https://appsync.lkbang.net',
refresh_api: 'http://fusion.qiniuapi.com/refresh',
ACCESS_KEY: 'e2S74rOnpqNz1rkZRdgY45c8L988PoARRQ60_6-t',
SECRET_KEY: 'YYtAEZ2bPDiyNLt2qLKGpaEp0-Thq8tGLrqlBgxY',
BUCKET: 'app-sync',
},
upload: {
path: path.resolve(__dirname, '../upload')
},
log4js: {
"appenders": [
{
"type": "dateFile",
"filename": "/home/quant_group/logs/op-api.log",
"pattern": "-yyyy-MM-dd",
"layout": { type: 'basic' }
},
{
"type": "logLevelFilter",
"level": "ERROR",
"appender": {
"type": "dateFile",
"filename": "/home/quant_group/logs/op-api-errors.log",
"pattern": "-yyyy-MM-dd"
}
}
]
},
cronTab: {
strategy: '*/1 * * * *',
pushJob: '*/1 * * * *'
},
flashPush: {
testUserIds: ['51535725'],
switchOn: true,
ins: {
mail: ['xingchun.chen@quantgroup.cn'],
sms: ['25366264', '27355922']
},
outs: {
mail: ['xingchun.chen@quantgroup.cn'],
sms: ['36983993', '50873613']
},
recall: {
mail: ['xiaoli.ren@quantgroup.cn']
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment