From cbe3c821d4aeca4f00bb7933b67f08698e8f0033 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 14 Sep 2022 10:52:26 +0800 Subject: [PATCH] deleted DEFAULT false --- api/config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/config.js b/api/config.js index 2f4e522..8e7ba87 100644 --- a/api/config.js +++ b/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,