Merge pull request #2785 from saeedesmaili/patch-1

Update Plausible docker compose template to Plausible 2.1.0
This commit is contained in:
Andras Bacsai 2024-07-10 13:18:13 +02:00 committed by GitHub
commit 8e46c0186d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
services: services:
plausible: plausible:
image: plausible/analytics:v2.0 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" command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
environment: environment:
- DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@plausible_db/plausible - DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@plausible_db/plausible
@ -30,7 +30,7 @@ services:
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
plausible_events_db: plausible_events_db:
image: clickhouse/clickhouse-server:23.3.7.5-alpine image: clickhouse/clickhouse-server:24.3.3.102-alpine
volumes: volumes:
- type: volume - type: volume
source: event-data source: event-data