chore: upgrade to 4.0.0+v2.1.5
Some checks failed
cc-ci/testme cc-ci: failure

This commit is contained in:
autonomic-bot
2026-06-02 06:50:21 +00:00
parent d063f0136e
commit 0b08d7ed11
4 changed files with 9 additions and 19 deletions

View File

@ -1,4 +1,5 @@
export CLICKHOUSE_CONF_VERSION=v2
export CLICKHOUSE_USER_CONF_VERSION=v2
export CLICKHOUSE_IPV4_ONLY_VERSION=v1
export DB_ENTRYPOINT_VERSION=v1
export CLICKHOUSE_ENTRYPOINT_VERSION=v2

3
clickhouse-ipv4-only.xml Normal file
View File

@ -0,0 +1,3 @@
<clickhouse>
<listen_host>0.0.0.0</listen_host>
</clickhouse>

View File

@ -69,6 +69,8 @@ services:
target: /etc/clickhouse-server/config.d/logging.xml
- source: clickhouse-user-config
target: /etc/clickhouse-server/users.d/clickhouse-user-config.xml
- source: clickhouse-ipv4-only
target: /etc/clickhouse-server/config.d/ipv4-only.xml
- source: clickhouse_entrypoint
target: /custom-entrypoint.sh
mode: 0555
@ -103,6 +105,9 @@ configs:
name: ${STACK_NAME}_db_entrypoint_${DB_ENTRYPOINT_VERSION}
file: entrypoint.postgres.sh.tmpl
template_driver: golang
clickhouse-ipv4-only:
name: ${STACK_NAME}_clickhouse_ipv4_only_${CLICKHOUSE_IPV4_ONLY_VERSION}
file: clickhouse-ipv4-only.xml
clickhouse_entrypoint:
name: ${STACK_NAME}_clickhouse_entrypoint_${CLICKHOUSE_ENTRYPOINT_VERSION}
file: entrypoint.clickhouse.sh

View File

@ -1,19 +0,0 @@
⚠ OPERATOR ACTION REQUIRED ⚠
This major version upgrade changes:
1. TOTP_VAULT_KEY is now REQUIRED. Generate with:
openssl rand -base64 32
Add to your app environment config before deploying.
2. Plausible image moved from Docker Hub (plausible/analytics)
to GitHub Container Registry (ghcr.io/plausible/community-edition).
3. PostgreSQL upgraded from 13 → 16 (major version jump).
The recipe handles this automatically via pg_upgrade on first boot.
Take a volume backup before upgrading!
4. ClickHouse upgraded from 23.4 → 24.3 (data-compatible upgrade).
See upstream upgrade notes:
https://github.com/plausible/analytics/releases/tag/v2.1.0