Skip to content

Commit 6526fa2

Browse files
committed
chore: update db config
1 parent dea87e9 commit 6526fa2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/insights/src/config/server.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ export const AMPLITUDE_API_KEY = defaultInProduction(
4646
"6faa78c51eff33087eb19f0f3dc76f33",
4747
);
4848
export const CLICKHOUSE = {
49-
url: demand("CLICKHOUSE_URL"),
50-
username: demand("CLICKHOUSE_USERNAME"),
49+
url:
50+
process.env.CLICKHOUSE_URL ??
51+
"https://ryf56suqpb.eu-west-2.aws.clickhouse.cloud:8443",
52+
username: process.env.CLICKHOUSE_USERNAME ?? "ui_user",
5153
password: demand("CLICKHOUSE_PASSWORD"),
5254
};
5355

0 commit comments

Comments
 (0)