Skip to content

Instantly share code, notes, and snippets.

@alexishida
Last active February 4, 2025 13:41
Show Gist options
  • Save alexishida/5b687f1071300c791cb95325aba2e679 to your computer and use it in GitHub Desktop.
Save alexishida/5b687f1071300c791cb95325aba2e679 to your computer and use it in GitHub Desktop.
Clickhouse docker desenv
docker run -d \
--name clickhouse-server \
--restart=always \
--ulimit nofile=262144:262144 \
-e CLICKHOUSE_DB=my_database \
-e CLICKHOUSE_USER=root \
-e CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 \
-e CLICKHOUSE_PASSWORD=123456 \
-v /storage/clickhouse/data:/var/lib/clickhouse/ \
-v /storage/clickhouse/logs:/var/log/clickhouse-server/ \
-p 9000:9000/tcp \
-p 8123:8123 \
clickhouse:24.12
https://hub.docker.com/_/clickhouse
https://clickhouse.com/docs/en/operations/configuration-files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment