Readiness and Health
A process being started does not necessarily mean the service is ready. Compose health checks can periodically execute a command and report a container as healthy or unhealthy.
Use health checks for meaningful service readiness, and configure dependent services with appropriate conditions when startup ordering matters.