Skip to content

Easily setup production-ready standalone Clickhouse and monitor it

License

Notifications You must be signed in to change notification settings

esc5/clickhouse

 
 

Repository files navigation

Production Ready Standalone Clickhouse 🚀

clickhouse cover packages

contributors license

Table of Contents 🏗️

Project Description 👔

This repository contains a Docker Compose file, along with other necessary resources, to set up a production-ready standalone ClickHouse instance. It also includes a monitoring stack composed of Prometheus and Grafana for real-time performance tracking. Additionally, MinIO is incorporated for efficient backup of ClickHouse data. This comprehensive setup ensures a robust and reliable data management environment.

Project Usage 🚀

  1. Installing the Prerequisites 🐳: The sole prerequisites for this project are Docker and Docker Compose. Please ensure that both are installed on your host machine prior to proceeding.
  2. Setting Environment Variables 🔐: Create a copy from .env.sample with .env name on the root directory (using cp .env.sample .env command) and replace the placeholder (marked by <placeholder>) with the desired value.
  3. Running the Script 🔧: Execute the script.sh command. If it lacks execution permissions, grant them by running the chmod +x script.sh command.
  4. Add Grafana Montitoring Plugin for Clickhouse 📈: Install the Altinity Plugin or you can manually download it in the page and place it in config_files/grafana/plugins/ directory.
  5. Run docker compose up -d command.
  6. Enjoy!

Contributing 👥

We welcome contributions to this repository! If you’re interested in contributing, please take a look at our CONTIRIBUTION.md file for more information on how to get started. We look forward to collaborating with you!

License 📄

This repository is licensed under the MIT License, which is a permissive open-source license that allows for reuse and modification of the code with few restrictions. You can find the full text of the license in this file.

About

Easily setup production-ready standalone Clickhouse and monitor it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%