Merge pull request #1 from plausible/ruslan-changes

simplify healthchecks
This commit is contained in:
Nova Kwok 2023-09-19 08:18:13 +08:00 committed by GitHub
commit 9b32985b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -13,10 +13,7 @@ services:
environment:
- POSTGRES_PASSWORD=postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 30s
timeout: 10s
retries: 5
test: ["CMD", "pg_isready", "-U", "postgres"]
plausible_events_db:
image: clickhouse/clickhouse-server:23.3.7.5-alpine
@ -30,7 +27,7 @@ services:
soft: 262144
hard: 262144
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8123/?query=SELECT%201 || exit 1
test: ["CMD", "clickhouse-client", "-q", "SELECT 1"]
plausible:
image: plausible/analytics:v2.0
@ -52,4 +49,4 @@ volumes:
db-data:
driver: local
event-data:
driver: local
driver: local