clickhouse preset runs ClickHouse 25.8 Alpine on amd64 or arm64. It
uses HTTP port 8123, stores data in /var/lib/clickhouse, and performs
authenticated checks with clickhouse-client.
Declare the resource
.towbar/resources/clickhouse.resource.yml
CLICKHOUSE_USER and CLICKHOUSE_PASSWORD. CLICKHOUSE_DB
makes the initial application database explicit.
Connect from an app
Containers on theapplication network can use the ClickHouse HTTP interface at
clickhouse:8123. Save credentials and the final connection URL in the app’s
runtime secrets. The optional tunnel binds 18123 only to server loopback.
