fix(infra): use bash socket healthcheck for qdrant in staging and test #68

Merged
mjasin merged 1 commits from infra/stage-deploy into develop 2026-06-01 17:36:04 +00:00
Collaborator

This Pull Request fixes the Qdrant startup error on the Staging and Testing environments.

🔍 Cause of the Bug

The official qdrant/qdrant:latest image is built on debian-slim and does not contain curl or wget. Changing the healthcheck to curl caused Qdrant to exit with status 127 (command not found), marking the service as unhealthy/error in Docker.

🛠️ Solution

Reverts the healthcheck in both docker-compose.stage.yml and docker-compose.test.yml to the robust, built-in bash TCP socket check:

    healthcheck:
      test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/6333'"]

Successfully validated locally and tested compilation.

This Pull Request fixes the Qdrant startup error on the Staging and Testing environments. ### 🔍 Cause of the Bug The official `qdrant/qdrant:latest` image is built on `debian-slim` and **does not contain `curl` or `wget`**. Changing the healthcheck to `curl` caused Qdrant to exit with status `127` (command not found), marking the service as unhealthy/error in Docker. ### 🛠️ Solution Reverts the healthcheck in both `docker-compose.stage.yml` and `docker-compose.test.yml` to the robust, built-in bash TCP socket check: ```yaml healthcheck: test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/6333'"] ``` Successfully validated locally and tested compilation.
mjasin added 1 commit 2026-06-01 17:35:28 +00:00
mjasin force-pushed infra/stage-deploy from 5216e1fe0e to 65d292bf2a 2026-06-01 17:35:28 +00:00 Compare
mjasin merged commit 081c6f7940 into develop 2026-06-01 17:36:04 +00:00
mjasin deleted branch infra/stage-deploy 2026-06-01 17:36:04 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mjasin/Nexus.Reader#68