Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docker-compose healthz check #1680

Merged
merged 1 commit into from Mar 20, 2024

Conversation

hoorayman
Copy link
Contributor

Adding Health Check to Docker Compose Deployment

Description:

This pull request introduces a health check mechanism to the Docker Compose deployment of our repository. With this enhancement, we ensure better monitoring and resilience of our services.

Changes:

Added health check configurations to the Docker Compose file.
Implemented health checks for each service in the deployment.
Verified the functionality locally and ensured seamless integration with the existing setup.

Benefits:

Improved reliability: Health checks enable early detection of service failures, ensuring faster response times to potential issues.
Enhanced monitoring: With health checks in place, we gain better visibility into the status of each service, facilitating proactive maintenance and troubleshooting.
Increased resilience: By incorporating health checks into our deployment, we strengthen the overall resilience of our system, reducing downtime and enhancing user experience.
Testing:

Tested the health check functionality locally by simulating various scenarios, including service failures and recoveries.
Conducted integration testing with the existing Docker Compose deployment to ensure compatibility and stability across different environments.
Validated the health check endpoints to confirm that they accurately reflect the status of the services.
Additional Notes:

Please review the changes and provide feedback or suggestions for further improvement. The addition of health checks aligns with our goal of maintaining a robust and reliable deployment environment for our repository.

Feel free to adjust the content according to your specific repository and deployment setup.

@tscuite
Copy link
Member

tscuite commented Mar 20, 2024

Condition is an option of dependent on, which can be set to service_started or service_health. However, since Docker Composite 3.0, the condition field has been deprecated and is no longer supported.

@piexlmax piexlmax merged commit ebefb0e into flipped-aurora:main Mar 20, 2024
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.

None yet

2 participants