diff --git a/docker-compose.yml b/docker-compose.yml index 1ed5a2ab..e8307fa0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -130,7 +130,7 @@ services: condition: service_healthy mem_limit: 192m healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:5555/ || exit 1"] + test: ["CMD-SHELL", "curl -f http://localhost:5555/healthcheck || exit 1"] interval: 30s timeout: 10s retries: 3 @@ -231,7 +231,7 @@ services: - monitoring redis-exporter: - image: oliver006/redis_exporter:latest + image: oliver006/redis_exporter:alpine restart: always profiles: - full @@ -244,7 +244,7 @@ services: condition: service_healthy mem_limit: 32m healthcheck: - test: ["CMD-SHELL", "wget -qO- http://localhost:9121/health || exit 1"] + test: ["CMD-SHELL", "wget -qO- http://localhost:9121/metrics | grep -q 'redis_up 1' || exit 1"] interval: 30s timeout: 10s retries: 3