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

This commit is contained in:
autonomic-bot
2026-06-05 04:36:59 +00:00
parent 0b08d7ed11
commit ca89e2024e
3 changed files with 4 additions and 14 deletions

View File

@ -1,5 +1,4 @@
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

View File

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

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: ghcr.io/plausible/community-edition:v2.1.5
image: plausible/analytics:v2.0.0
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
depends_on:
- db
@ -11,7 +11,6 @@ services:
environment:
- BASE_URL=https://$DOMAIN
- SECRET_KEY_BASE
- TOTP_VAULT_KEY
- DATABASE_URL=postgres://plausible:plausible@${STACK_NAME}_db:5432/plausible
- SMTP_HOST_ADDR
- MAILER_EMAIL
@ -33,9 +32,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- coop-cloud.${STACK_NAME}.version=4.0.0+v2.1.5
- coop-cloud.${STACK_NAME}.version=4.0.0+v2.0.0
db:
image: postgres:16
image: postgres:14.18
configs:
- source: db_entrypoint
target: /docker-entrypoint.sh
@ -60,7 +59,7 @@ services:
backupbot.restore.post-hook: sh -c 'gzip -d /postgres.dump.gz && pg_restore --clean -U "$$POSTGRES_USER" --dbname="$$PLAUSIBLE_DB" < /postgres.dump && rm -f /postgres.dump'
plausible_events_db:
image: clickhouse/clickhouse-server:24.3.3.102-alpine
image: clickhouse/clickhouse-server:23.4.2.11-alpine
volumes:
- event-data:/var/lib/clickhouse
entrypoint: /custom-entrypoint.sh
@ -69,8 +68,6 @@ 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
@ -105,9 +102,6 @@ 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