Created
December 9, 2025 06:24
-
-
Save Nelwhix/191d5284db5130cf61e12850edf6b434 to your computer and use it in GitHub Desktop.
Lightweight Docker compose for Clickhouse on Macos ARM64
This file contains hidden or 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
| services: | |
| clickhouse-server: | |
| image: clickhouse/clickhouse-server:24.3-alpine | |
| container_name: clickhouse-server | |
| restart: unless-stopped | |
| mem_limit: 2g | |
| cpus: 1.0 | |
| ulimits: | |
| nofile: | |
| soft: 262144 | |
| hard: 262144 | |
| volumes: | |
| - clickhouse_data:/var/lib/clickhouse | |
| - clickhouse_logs:/var/log/clickhouse-server | |
| ports: | |
| - "8123:8123" # HTTP | |
| - "9001:9000" # Native client | |
| - "9009:9009" # Interserver | |
| environment: | |
| - CLICKHOUSE_DB=default | |
| - CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 | |
| - CLICKHOUSE_DISABLE_INTERNAL_DNS_CACHE=1 | |
| - CLICKHOUSE_LOG_LEVEL=warning | |
| cap_add: | |
| - SYS_NICE | |
| volumes: | |
| clickhouse_data: | |
| clickhouse_logs: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment