Environment variables

The service reads all configuration from ADT_-prefixed environment variables.

Variable Required Description
ADT_CLICKHOUSE_HOSTS Yes Comma-separated list of Clickhouse hosts (e.g. clickhouse:9000)
ADT_CLICKHOUSE_DBNAME Yes Clickhouse database name
ADT_CLICKHOUSE_USERNAME Yes Clickhouse username
ADT_CLICKHOUSE_PASSWORD Yes Clickhouse password
ADT_ADMIN_EMAIL Yes Email for the bootstrap admin user
ADT_ADMIN_PASSWORD Yes Password for the bootstrap admin user
ADT_JWT_SECRET Conditional HMAC secret for signing and verifying JWTs. Required unless ADT_JWT_PUBLIC_KEY and ADT_JWT_PRIVATE_KEY are set
ADT_JWT_PUBLIC_KEY Conditional ECDSA public key (PEM) for JWT verification. Required, with the private key, unless ADT_JWT_SECRET is set
ADT_JWT_PRIVATE_KEY Conditional ECDSA private key (PEM) for JWT signing. Required, with the public key, unless ADT_JWT_SECRET is set
ADT_HTTP_PORT No HTTP listen port (default 8080)
ADT_ALLOWED_CORS_ORIGIN No Comma-separated list of allowed CORS origins
ADT_LOG_LEVEL No Log verbosity (DEBUG, INFO, WARN, ERROR). Defaults to INFO