Skip to content

Add Docker healthchecks to docker-compose services#186

Open
RemmyAcee wants to merge 2 commits intoritik4ever:mainfrom
RemmyAcee:add-docker-health-check
Open

Add Docker healthchecks to docker-compose services#186
RemmyAcee wants to merge 2 commits intoritik4ever:mainfrom
RemmyAcee:add-docker-health-check

Conversation

@RemmyAcee
Copy link
Copy Markdown
Contributor

Close: #171
I have added the requested Docker healthchecks to your docker-compose.yml file.

Here is what was changed:

Backend Healthcheck: Added a curl test for http://localhost:3001/api/health with a 10s interval and 3 retries.
Frontend Healthcheck: Added a TCP port check (nc -z localhost 3000) with a 10s interval and 3 retries.
Dependencies: Updated the frontend's depends_on setting to use the condition: service_healthy check for the backend, ensuring it waits for the backend API to be ready before starting.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2026

@OluRemiFour is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@RemmyAcee
Copy link
Copy Markdown
Contributor Author

Done, Close: #186

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 25, 2026

@RemmyAcee Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wave4][infra] Add Docker healthchecks to docker-compose services

2 participants