From 71d24773b6220d0cf6bf7f347672ec3b69c195bb Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 10 Jul 2024 13:58:53 +0200 Subject: [PATCH] chore: Update Plausible docker compose template to Plausible 2.1.0 --- templates/compose/plausible.yaml | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/templates/compose/plausible.yaml b/templates/compose/plausible.yaml index 7de61e3b9..e73421d57 100644 --- a/templates/compose/plausible.yaml +++ b/templates/compose/plausible.yaml @@ -6,31 +6,30 @@ services: plausible: - image: image: ghcr.io/plausible/community-edition:v2.1.1 - command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" + image: "ghcr.io/plausible/community-edition:v2.1.0" + command: 'sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"' environment: - - DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@plausible_db/plausible - - BASE_URL=$SERVICE_FQDN_PLAUSIBLE_8000 + - "DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@plausible_db/plausible" + - BASE_URL=$SERVICE_FQDN_PLAUSIBLE - SECRET_KEY_BASE=$SERVICE_BASE64_64_PLAUSIBLE - - TOTP_VAULT_KEY=$SERVICE_REALBASE64_TOTP + - TOTP_VAULT_KEY=$SERVICE_BASE64_TOTP depends_on: - plausible_db - plausible_events_db - mail - mail: image: bytemark/smtp plausible_db: - image: postgres:14-alpine + image: "postgres:14-alpine" volumes: - - db-data:/var/lib/postgresql/data + - "db-data:/var/lib/postgresql/data" environment: - POSTGRES_DB=plausible - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES plausible_events_db: - image: clickhouse/clickhouse-server:24.3.3.102-alpine + image: "clickhouse/clickhouse-server:24.3.3.102-alpine" volumes: - type: volume source: event-data @@ -39,19 +38,12 @@ services: source: ./clickhouse/clickhouse-config.xml target: /etc/clickhouse-server/config.d/logging.xml read_only: true - content: >- - 00 + content: "00" - type: bind source: ./clickhouse/clickhouse-user-config.xml target: /etc/clickhouse-server/users.d/logging.xml read_only: true - content: >- - warningtrue + content: 'warningtrue' ulimits: nofile: soft: 262144