Deploy ClickHouse
Fast open-source column-oriented database for analytics
ClickHouse
Just deployed
/var/lib/clickhouse
Deploy and Host ClickHouse on Railway
ClickHouse is a column-oriented SQL database built for real-time analytics over very large datasets.
About Hosting ClickHouse
This template runs the official clickhouse/clickhouse-server:latest image with a persistent volume at /var/lib/clickhouse. The default user is protected by a random CLICKHOUSE_PASSWORD generated into the service variables: read it in the Variables tab. The public URL exposes the HTTP interface (port 8123): check /ping, and run queries with curl --user default: --data 'SELECT 1' https:///. The native TCP protocol is not exposed.
Common Use Cases
- Product and event analytics over billions of rows
- Log and metrics storage queried with SQL over HTTP
- Backend for dashboards such as Grafana or Metabase
Dependencies for ClickHouse Hosting
- One service with a volume; nothing else
Deployment Dependencies
Why Deploy ClickHouse on Railway?
Railway gives you a public HTTPS URL, persistent storage where needed and automatic restarts with no server to maintain. Use the HTTP interface with the generated password right away.
Template Content
ClickHouse
clickhouse/clickhouse-server:latest
