From 49c60b076c94c345417cfc6d8d4d451f638b6a99 Mon Sep 17 00:00:00 2001 From: Lauri Gates Date: Tue, 17 Oct 2023 14:16:44 +0300 Subject: [PATCH] Fix influxdb health check --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6d9f0e7..8387439 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -156,9 +156,9 @@ services: DOCKER_INFLUXDB_INIT_BUCKET: devbucket DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: "insercure-token-for-development-and-testing-purposes-only-KxU4jAU23H3vTk" healthcheck: - test: ["CMD", "curl", "influxdb2:18086/api/v2/ping"] - interval: 1m - timeout: 10s + test: "curl --fail localhost:8086/health" + interval: 10s + timeout: 5s retries: 5 volumes: