Listed in this page are all environment variables needed to run Clickhouse.
Variable Name | Type | Relevance | Required | Default |
---|---|---|---|---|
CLICKHOUSE_HOST
String
The service name (host) of Clickhouse
No
analytics-datastore-clickhouse
CLICKHOUSE_PORT
Number
The port that the service of Clickhouse is exposed to
No
8123
Clickhouse is a SQL datastore.
Clickhouse is a SQL datastore
Launching this package executes the following two steps:
Running Clickhouse service
Running config importer to run the initial SQL script
The config importer will be launched to run a NodeJS script after ClickHouse has started.
It will run SQL queries to initialize the tables and the schema, and can also include initial seed data if required.
The config importer looks for two files clickhouseTables.js
and clickhouseConfig.js
found in <path to project packages>/analytics-datastore-clickhouse/importer/config.
For specific implementation, this folder can be overridden.