Docker Compose 支持 depends_on 配合 healthcheck 实现服务依赖管理。使用 condition: service_healthy 确保依赖服务完全就绪后再启动。需要为每个服务定义 healthcheck,包括 test、interval、timeout、retries 参数。