From 11ccf7fe6d7da13327f0ed6948363e2b10ea3fee Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 29 Jun 2025 19:01:30 -0500 Subject: [PATCH] Add stop_grace_period of 60s to all containers --- compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compose.yaml b/compose.yaml index 6f0029e..dc5b5af 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,6 +3,7 @@ services: # Plausible v2.1.1 was tested against PostgreSQL versions 15 and 16 # https://github.com/plausible/analytics/blob/v2.1.1/.github/workflows/elixir.yml#L21-L32 image: postgres:16-alpine + stop_grace_period: 60s restart: always volumes: - ./data/postgres:/var/lib/postgresql/data @@ -11,6 +12,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 @@ -24,6 +26,7 @@ services: plausible: 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: