mirror of
https://github.com/plausible/hosting.git
synced 2025-06-30 09:07:29 -05:00
Upgrade to v2.1.1 and add stop_grace_period
This commit is contained in:
@ -2,6 +2,7 @@ services:
|
|||||||
plausible_db:
|
plausible_db:
|
||||||
# supported versions are 12, 13, and 14
|
# supported versions are 12, 13, and 14
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/postgres:/var/lib/postgresql/data
|
- ./data/postgres:/var/lib/postgresql/data
|
||||||
@ -10,6 +11,7 @@ services:
|
|||||||
|
|
||||||
plausible_events_db:
|
plausible_events_db:
|
||||||
image: clickhouse/clickhouse-server:24.3.3.102-alpine
|
image: clickhouse/clickhouse-server:24.3.3.102-alpine
|
||||||
|
stop_grace_period: 60s
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/clickhouse:/var/lib/clickhouse
|
- ./data/clickhouse:/var/lib/clickhouse
|
||||||
@ -21,7 +23,8 @@ services:
|
|||||||
hard: 262144
|
hard: 262144
|
||||||
|
|
||||||
plausible:
|
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
|
restart: always
|
||||||
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"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Reference in New Issue
Block a user