1. Which Compose file key is used to specify dependencies so one service starts after another?
In docker-compose.yml you use `depends_on:` to make one service wait until the other has been started. It does *not* guarantee the dependent service is fully ready — only that it has been started.
services:
web:
depends_on:
- db