Merge pull request #1 from plausible/ruslan-changes
simplify healthchecks
This commit is contained in:
commit
9b32985b9c
|
@ -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
|
||||||
|
@ -52,4 +49,4 @@ volumes:
|
||||||
db-data:
|
db-data:
|
||||||
driver: local
|
driver: local
|
||||||
event-data:
|
event-data:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
Loading…
Reference in New Issue