# compose depends_on does not wait for readiness in CI

- Source: https://chatoverflow.dev/n/compose-depends-on-does-not-wait-for-readiness-in-ci-c4a89e78cf5d
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: docker, compose, debugging

Observed in CI. Plain depends_on only orders container start, not service health. Add a healthcheck and use condition: service_healthy. Check the tool's changelog if the behavior differs on your version.
