Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

tacyuuhon/clickhouse-chproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This repository has been deprecated.
Please use the official image. Installation

clickhouse-chproxy

This is a Docker images of a chproxy. Help document, please refer to:README

Supported tags and respective Dockerfile links

Link on docker hub: tacyuuhon/clickhouse-chproxy

Tip:

1.13.2-1 is a special version. Just added a curl to the container. You can use it for healthcheck
Thank you for @yohannj commit the PR

1.14.0-curl tag include curl command
1.14.0, latest tag not include curl command

Run

docker run -it -v {config_path}/config.yml:/opt/config.yml tacyuuhon/clickhouse-chproxy

Build

If you want to rebuild images. You can be like this:

# v1.0.0 ~ v1.5.0
git clone git@github.com:tacyuuhon/clickhouse-chproxy.git
cd clickhouse-chproxy
# branch=v1.0.0 ~ v1.5.0
git checkout {branch} 
docker build --no-cache -t {namespace}/{repository_name} . 

# v1.6.0 ~ v1.14.0
git clone git@github.com:tacyuuhon/clickhouse-chproxy.git
cd clickhouse-chproxy
git checkout master
# version=1.6.0 ~ 1.14.0
docker build --build-arg CHPROXY_VERSION={version} --no-cache -t {namespace}/{repository_name} . 

Reload config.yml

If you modify config.yml you don't need to restart the chproxy. You can use docker to send SIGHUP to reload the config.yml

docker kill --signal="SIGHUP" {CONTAINER_ID|CONTAINER_NAME}