RaseefDocs
Templates

ClickHouse

Columnar analytical database, ready to run as a private service.

SettingValue
Imageclickhouse/clickhouse-server:25.8
Port8123 (HTTP, private)
StorageVolume at /var/lib/clickhouse
Minimum size1 vCPU · 1024 MiB

Create it

In your project, choose Create, then ClickHouse from the templates. Raseef creates the service with the settings below, generates its secrets and deploys it. Its data lives on its own volume.

Connect from your app

ClickHouse is a private service: it has no public address. Other services in the same environment reach it on its private address and port, which Raseef offers as variables you can reference.

Add a variable to your app that references the CLICKHOUSE_URL of this service. If you named the service clickhouse:

Variables of your app
CLICKHOUSE_URL=${{ clickhouse.CLICKHOUSE_URL }}

At deploy time the reference becomes a full connection string:

http://raseef:<CLICKHOUSE_PASSWORD>@<private address>:8123/?database=raseef

See Variables for how references work.

Variables

Generated once, when the service is created, and stored encrypted:

VariableValue
CLICKHOUSE_PASSWORDA random password, 64 hex characters

Set by the template:

VariableValue
CLICKHOUSE_USERraseef
CLICKHOUSE_DBraseef
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT1

Every variable of a template service is managed by Raseef and cannot be edited. The workspace owner can reveal the secrets from the service panel; each reveal is recorded in the audit log.

Data and backups

The data directory /var/lib/clickhouse is a persistent volume: it survives restarts and deploys. A service with a volume runs a single replica, and a deploy stops the old replica before starting the new one, so expect a short interruption. See Volumes for sizes and backups.

Version

The service runs clickhouse/clickhouse-server:25.8, pinned by digest when the service is created and kept on that exact image afterwards. Template catalog version 2026-10-19.1.

Upstream documentation: clickhouse/clickhouse-server.

On this page