Merge pull request #1 from plausible/ruslan-changes
simplify healthchecks
This commit is contained in:
commit
9b32985b9c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue