fix: docker-compose.yml — Qdrant healthcheck usa grep em vez de curl

A imagem qdrant/qdrant:v1.17.1 não inclui curl, wget, python, ps,
pgrep, nc nem /dev/tcp. O healthcheck anterior nunca passava porque
o binário curl não existe.

Corrigido para: sh -c 'grep -q :18BD /proc/net/tcp'
(6333 = 0x18BD)

Bug encontrado durante Nível 2 de testes (stack isolado).
This commit is contained in:
ClaudioDrews 2026-06-03 16:08:24 -03:00
parent 35f85066a4
commit 545a882157
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ services:
QDRANT__SERVICE__HTTP_PORT: "6333"
QDRANT__SERVICE__API_KEY: ${QDRANT_API_KEY:-}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6333/healthz"]
test: ["CMD", "sh", "-c", "grep -q ':18BD' /proc/net/tcp"]
interval: 10s
timeout: 5s
retries: 5