flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Docker] Fix busybox-incompatible wget flags in healthchecks

Open blurbeast opened this issue 2 weeks ago • 5 comments

Overview & Background

The backend healthcheck comment in docker-compose.yml:176-177 says: "the runtime image only ships busybox wget, which does not understand GNU flags like --no-verbose/--tries" — and uses a node one-liner instead. Yet the frontend service (docker-compose.yml:208) uses exactly those broken flags, and both images bake the same broken HEALTHCHECK ... wget --no-verbose --tries=1 --spider into frontend/Dockerfile:66-67 and backend/Dockerfile:80-81. BusyBox wget rejects these options, so the healthchecks can never succeed: the frontend container permanently reports unhealthy, and docker compose up --wait or any health-gated orchestration stalls.


Technical Specification & Architecture

  1. Replace the wget invocations with the same node-based healthcheck already used for the backend service, or busybox-compatible wget -q --spider, consistently across docker-compose.yml:208, frontend/Dockerfile:67, and backend/Dockerfile:81.
  2. Verify each healthcheck reports healthy in a running compose stack.

Target Files

  • docker-compose.yml
  • frontend/Dockerfile
  • backend/Dockerfile

Acceptance Criteria

  • [ ] All three healthchecks succeed against busybox wget / node-only images.
  • [ ] docker compose up --wait completes.
  • [ ] Containers report healthy in docker ps.

blurbeast avatar Nov 18 '26 19:11 blurbeast

@sage9ty has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

I would like to take on this issue because, i’ve gone through the issue and i’m confident I can resolve it. I’d be happy to take it on.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @sage9ty to this issue.

sage9ty avatar Nov 20 '26 22:11 sage9ty

@Victorjonah-prog has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

Hi maintainer i will love to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Victorjonah-prog to this issue.

Victorjonah-prog avatar Nov 21 '26 06:11 Victorjonah-prog

@bolabeatz has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

easy issue for me

ℹ️ Repo Maintainers: To accept this application, review their application or assign @bolabeatz to this issue.

bolabeatz avatar Nov 21 '26 07:11 bolabeatz

Congratulations, @bolabeatz! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

🧑‍💻 @bolabeatz: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Nov 21 '26 07:11 drips-wave[bot]

This issue has been completed by @bolabeatz as part of the Stellar Wave Program's 11th Wave 🥳

😎 @bolabeatz: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Nov 21 '26 14:11 drips-wave[bot]