Process Flow - Health checks in Compose
Start container
Run health check command
Check command exit code
Mark container
Wait interval
Docker Compose starts the container, runs the health check command repeatedly, and marks the container healthy or unhealthy based on the command's success or failure.