Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Expose 9000 for native clickhouse protocol (dev mode) (#3162)

hq1edd2757531be
diff --git a/Makefile b/Makefile
index 59015095b6..ec84f57510 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ install: ## Run the initial setup
server: ## Start the web server
mix phx.server
-CH_FLAGS ?= --detach -p 8123:8123 --ulimit nofile=262144:262144 --name plausible_clickhouse
+CH_FLAGS ?= --detach -p 8123:8123 -p 9000:9000 --ulimit nofile=262144:262144 --name plausible_clickhouse
clickhouse: ## Start a container with a recent version of clickhouse
docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse clickhouse/clickhouse-server:22.9-alpine