🌊 Health Check API#
The Health Check API provides a simple mechanism to verify that the DMB container and core services are operational.
🔍 Endpoint#
GET /health
#
Returns a JSON response indicating whether the container is healthy.
Response#
{
"status": "healthy"
}
If the check fails, the status will be "unhealthy"
and include diagnostic output.
📊 Use Case#
- Used by orchestrators or monitoring tools to confirm container availability.
- Can be used to gate traffic in load balancers or uptime monitoring dashboards.
✨ Implementation#
This route executes a background health check script in the container:
/healthcheck.py