fix(docker): fix flower and redis-exporter healthchecks
Some checks failed
CI / ruff (push) Successful in 10s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has started running

Flower: use /healthcheck endpoint (auth-exempt) instead of root URL.
Redis-exporter: switch to alpine image (has wget) and verify redis_up
in /metrics instead of non-existent /health endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 23:17:47 +01:00
parent 802cc6b137
commit 31ced5f759

View File

@@ -130,7 +130,7 @@ services:
condition: service_healthy condition: service_healthy
mem_limit: 192m mem_limit: 192m
healthcheck: healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:5555/ || exit 1"] test: ["CMD-SHELL", "curl -f http://localhost:5555/healthcheck || exit 1"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -231,7 +231,7 @@ services:
- monitoring - monitoring
redis-exporter: redis-exporter:
image: oliver006/redis_exporter:latest image: oliver006/redis_exporter:alpine
restart: always restart: always
profiles: profiles:
- full - full
@@ -244,7 +244,7 @@ services:
condition: service_healthy condition: service_healthy
mem_limit: 32m mem_limit: 32m
healthcheck: 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 interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3