Which top-level key in a Docker Compose file defines the version of the Compose file format being used?
Within a Docker Compose file, what top-level key is used to define the individual services that make up your application?
If you want Docker Compose to build an image from a Dockerfile in the current directory for a service, how do you configure the 'build' context?
How can you define environment variables for a service in a Docker Compose file?
What is the correct syntax in a Docker Compose file to map port 8080 on the host to port 80 on the container?
Which deprecated key was previously used to establish communication links between services in Docker Compose?
What mechanism does Docker Compose utilize to persist data between container restarts?
How do you ensure that one service starts only after another service has started in Docker Compose?
Which Docker Compose command is used to scale a service to a specified number of replicas?
How do you create a custom network for your services in Docker Compose?