0
0
Login
Code
Issues
Pull requests
Events
Packages
fec8d8dbdf96cb795639cf904a10beb88ea110dc
README

clickhouse

🚀目前仅提供docker 和 docker-compose 运行

🐋 docker 指令运行:

1、创建目录
mkdir -p /home/application/Database/clickhouse/{data,log}

2、docker run 运行
docker run -d \
  --name clickhouse \
  --restart=always \
  -e CLICKHOUSE_USER=default \
  -e CLICKHOUSE_PASSWORD=XXXXXXXX \
  -e CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 \
  -p 8123:8123 \
  -v /home/application/Database/clickhouse/log:/var/log/clickhouse-server \
  -v /home/application/Database/clickhouse/data:/var/lib/clickhouse \
  docker.cnb.cool/srebro/clickhouse:24.5.1

🐋 docker-compose 指令运行:

1、创建目录
mkdir -p /home/application/Database/clickhouse/{data,log}

2、创建docker-compose.yaml 文件,见 docker-compose.yaml 文件
vim /home/application/Middleware/kafka/docker-compose.yml

3、运行docker-compose创建容器
docker-compose up -d


About

clickhouse

Release
0

Tag
0
Packages
1

Sponsor

Language
Shell57.9%
Dockerfile27%
Markdown12%
XML3.1%