continuous-integration-images/clickhouse
Reinaldy Rafli a6dc97fbcc
chore: bump versions
2023-08-30 12:00:23 +07:00
..
Dockerfile.node1 chore: bump versions 2023-08-30 12:00:23 +07:00
Dockerfile.node2 chore: bump versions 2023-08-30 12:00:23 +07:00
Dockerfile.node3 chore: bump versions 2023-08-30 12:00:23 +07:00
README.md feat: removed zookeeper for clickhouse 2023-02-11 15:17:57 +07:00
keeper1.xml feat: removed zookeeper for clickhouse 2023-02-11 15:17:57 +07:00
keeper2.xml feat: removed zookeeper for clickhouse 2023-02-11 15:17:57 +07:00
keeper3.xml feat: removed zookeeper for clickhouse 2023-02-11 15:17:57 +07:00
local.xml feat: removed zookeeper for clickhouse 2023-02-11 15:17:57 +07:00
macros1.xml clickhouse 2023-02-07 09:39:11 +07:00
macros2.xml clickhouse 2023-02-07 09:39:11 +07:00
macros3.xml clickhouse 2023-02-07 09:39:11 +07:00

README.md

ClickHouse

If you'd like to only run a single node of ClickHouse, please use the ClickHouse image directly. These images does not requires Zookeeper.

Github Actions workflow file sample:

name: Your CI

on:
    # ...

jobs:
  job-name:
    name: Job Name
    services:  
      clickhouse_node1:
        image: ghcr.io/aldy505/clickhouse-node1
        options: >-
          --health-cmd "wget --spider -q localhost:8123/ping"
          --health-interval 15s
          --health-timeout 10s
          --health-retries 10
          --health-start-period 60s
          --hostname clickhouse_node1
          --restart on-failure:10          
      clickhouse_node2:
        image: ghcr.io/aldy505/clickhouse-node2
        options: >-
          --hostname clickhouse_node2
          --restart on-failure:10          
      clickhouse_node3:
        image: ghcr.io/aldy505/clickhouse-node3
        options: >-
          --hostname clickhouse_node3
          --restart on-failure:10          

Cluster name: ci_cluster

Sample connection URL: clickhouse://default:@clickhouse_node1:9000,clickhouse_node2:9000,clickhouse_node3:9000/default?dial_timeout=30000ms&max_execution_time=60&debug=false