forked from github.com/plausible-hosting
Add stop_grace_period of 60s to all containers
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
services:
|
||||
plausible_db:
|
||||
image: postgres:16-alpine
|
||||
stop_grace_period: 60s
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
@ -12,6 +13,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
|
||||
@ -33,6 +35,7 @@ services:
|
||||
|
||||
plausible:
|
||||
image: ghcr.io/plausible/community-edition:v2.1.5
|
||||
stop_grace_period: 60s
|
||||
restart: always
|
||||
command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||
depends_on:
|
||||
|
Reference in New Issue
Block a user