This commit is contained in:
ruslandoga 2023-09-18 16:45:04 +07:00
parent 99ba7d66f7
commit 0852a86056

View File

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