fix(self-hosting): clickhouse config still need macros, update docs to remove zookeeper

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-02-17 23:28:50 +01:00
parent cbf8831eb5
commit 1a5d608be4
2 changed files with 31 additions and 0 deletions

View File

@@ -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.6
Removed Clerk.com and added self-hosted authentication.

View File

@@ -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>