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:
parent
35f85066a4
commit
545a882157
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue