Giter Club home page Giter Club logo

clickhouse-chproxy's Introduction

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 [email protected]: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 [email protected]: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}

clickhouse-chproxy's People

Contributors

failover-fun avatar tacyuuhon avatar yohannjcs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clickhouse-chproxy's Issues

Set config.yml via enviroment

Good day! I would like to use image ch-proxy in docker stack deploy. Tell me, is it possible to set config.yml settings through enviroment in docker-compose.yml?


snippet of config.yml
server:
  http:
      listen_addr: ":9090"
      allowed_networks: ["127.0.0.0/24"]

For example, it is like :

snippet of docker-compose.yml
...
enviroment:
  - "SERVER__HTTP__LISTEN_ADDR=:9090"
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.