From 0852a860566aa22a06f26d037045271b3f88114f Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Mon, 18 Sep 2023 16:45:04 +0700 Subject: [PATCH] simplify --- docker-compose.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f83ed54..a70ab39 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + driver: local