forked from github.com/plausible-hosting
Upgrade to v2.1.1 and add stop_grace_period
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user