In a Docker Compose file, which key is used to define the dependency order between services?
Correct. depends_on defines service dependencies.
Why this answer
The depends_on key in Docker Compose allows specifying that one service depends on another, controlling startup order.