From 142a31871638e2346bfcfbfd428f1ecce60c4af7 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 29 Jun 2025 18:40:35 -0500 Subject: [PATCH] Upgrade to v2.1.1 and add stop_grace_period --- compose.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 7c3977c..c27fe19 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,6 +2,7 @@ services: plausible_db: # supported versions are 12, 13, and 14 image: postgres:14-alpine + stop_grace_period: 60s restart: always volumes: - ./data/postgres:/var/lib/postgresql/data @@ -10,6 +11,7 @@ services: plausible_events_db: image: clickhouse/clickhouse-server:24.3.3.102-alpine + stop_grace_period: 60s restart: always volumes: - ./data/clickhouse:/var/lib/clickhouse @@ -21,7 +23,8 @@ services: hard: 262144 plausible: - image: ghcr.io/plausible/community-edition:v2.1.0 + image: ghcr.io/plausible/community-edition:v2.1.1 + stop_grace_period: 60s restart: always command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" depends_on: