Browse Source

deleted DEFAULT false

release_0.0.2
巴林闲侠 2 years ago
parent
commit
cbe3c821d4
  1. 10
      api/config.js

10
api/config.js

@ -34,6 +34,8 @@ args.option('qndmn', 'qiniuDomain');
args.option('clickHouseUrl', 'clickHouse Url');
args.option('clickHousePort', 'clickHouse Port');
args.option('clickHouseAnxincloudDB', 'clickHouse 安心云数据库名称');
args.option('clickHousePepEmisDB', 'clickHouse 项企数据库名称');
args.option('clickHouseProjectManageDB', 'clickHouse 项目管理数据库名称');
const flags = args.parse(process.argv);
@ -63,6 +65,14 @@ const QINIU_BUCKET_RESOURCE = process.env.ANXINCLOUD_QINIU_BUCKET_RESOURCE || fl
const QINIU_AK = process.env.ANXINCLOUD_QINIU_ACCESSKEY || flags.qnak;
const QINIU_SK = process.env.ANXINCLOUD_QINIU_SECRETKEY || flags.qnsk;
// clickHouse
const CLICKHOUST_URL = rocess.env.CLICKHOUST_URL || flags.clickHouseUrl
const CLICKHOUST_PORT = rocess.env.CLICKHOUST_PORT || flags.clickHousePort
const CLICKHOUST_ANXINCLOUD_DB = rocess.env.CLICKHOUST_ANXINCLOUD_DB || flags.clickHouseAnxincloudDB
const CLICKHOUST_PEPEMIS_DB = rocess.env.CLICKHOUST_PEPEMIS_DB || flags.clickHousePepEmisDB
const CLICKHOUST_PROJECT = rocess.env.CLICKHOUST_PORT || flags.clickHousePort
console.log('params', POMS_DB,
IOTA_REDIS_SERVER_HOST, IOTA_REDIS_SERVER_PORT,
GOD_KEY,

Loading…
Cancel
Save