Docker Compose is a tool that works with the YAML definition of an application. A YAML file can contain a declaration of containers, networks, and volumes. We will use version 3.6. Create a docker-compose.test.yml file and add the following sections:
version: "3.6"
services:
# the place for containers definition
In the services section, we will add all our microservices. Let's look at each container configuration.