Last active
February 4, 2025 13:41
-
-
Save alexishida/5b687f1071300c791cb95325aba2e679 to your computer and use it in GitHub Desktop.
Clickhouse docker desenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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