{"repo":"orginux/clickhouse-cluster-compose","free":true,"listed":false,"github":"https://github.com/orginux/clickhouse-cluster-compose","clone":"git clone https://github.com/orginux/clickhouse-cluster-compose.git","description":"ClickHouse + ClickHouse-Keeper Example with optional Grafana and Redpanda Connect","language":"Makefile","stars":15,"topics":["clickhouse","clickhouse-keeper","docker-compose","grafana","redpanda-connect"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"ClickHouse Cluster with ClickHouse Keeper This repository provides a simple example of how to deploy a ClickHouse cluster with ClickHouse Keeper using Docker Compose. The cluster consists of two shards and two replicas. Setup 1. Ensure Docker is installed and running on your system. 2. Clone this repository to your local machine. 3. Open a terminal window and navigate to the project directory. Usage Start the Cluster To start the cluster, run the following command: This will start the ClickHouse server and keeper containers. The containers will be named clickhouse- - and clickhouse-keeper- . Grafana Optionally, you can start Grafana by running the following command: This will start the ClickHouse server, keeper, and Grafana containers. The Grafana will be available at http://localhost:3000 . RedPanda Connect Optionally, you can start RedPanda Connect to stream generated data into ClickHouse: This will start the ClickHouse cluster and RedPanda Connect, which will continuously generate sample event data and insert it into the events table. You can query the data using the ClickHouse client. Access ClickHouse Client To access the ClickHouse client, you can run the following command: This will open the ClickHouse client in the first ClickHouse server container ( clickhouse-01-01 ), allowing you to execute SQL queries against the cluster. Stop the Cluster To stop the cluster, run the following command:","default_branch":null,"files":null,"tree":[],"storefront":"/r/orginux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/orginux/clickhouse-cluster-compose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}