OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix(self-hosting): clickhouse config still need macros, update docs to remove zookeeper
Carl-Gerhard Lindesvärd1a5d608be4c2
diff --git a/apps/public/content/docs/self-hosting/changelog.mdx b/apps/public/content/docs/self-hosting/changelog.mdxindex e8b7d0749..3ef3e3bda 100644--- a/apps/public/content/docs/self-hosting/changelog.mdx+++ b/apps/public/content/docs/self-hosting/changelog.mdx@@ -20,6 +20,30 @@ If you upgrading from a previous version, you'll need to edit your `.env` file i- `RESEND_API_KEY` - If set, we'll use Resend to send e-mails.- `EMAIL_SENDER` - The e-mail address that will be used to send e-mails.+### Removed Clickhouse Keeper++In 0.0.6 we introduced a cluster mode for Clickhouse. This was a misstake and we have removed it.++Remove op-zk from services and volumes++```+services:+ op-zk:+ image: clickhouse/clickhouse-server:24.3.2-alpine+ volumes:+ - op-zk-data:/var/lib/clickhouse+ - ./clickhouse/clickhouse-keeper-config.xml:/etc/clickhouse-server/config.xml+ command: [ 'clickhouse-keeper', '--config-file', '/etc/clickhouse-server/config.xml' ]+ restart: always+ ulimits:+ nofile:+ soft: 262144+ hard: 262144+volumes:+ op-zk-data:+ driver: local+```+## 0.0.6Removed Clerk.com and added self-hosted authentication.\ No newline at end of filediff --git a/self-hosting/clickhouse/clickhouse-config.xml b/self-hosting/clickhouse/clickhouse-config.xmlindex d4bf45e9d..1277b825b 100644--- a/self-hosting/clickhouse/clickhouse-config.xml+++ b/self-hosting/clickhouse/clickhouse-config.xml@@ -19,4 +19,11 @@<listen_host>0.0.0.0</listen_host><interserver_listen_host>0.0.0.0</interserver_listen_host><interserver_http_host>op-ch</interserver_http_host>++ <!-- Not used anymore, but kept for backwards compatibility -->+ <macros>+ <shard>1</shard>+ <replica>replica1</replica>+ <cluster>openpanel_cluster</cluster>+ </macros></clickhouse>\ No newline at end of file