docker-compose simplifies the process to run the whole stack. Our yaml file was configured and defined properly.
Let's start the solution. Run the following command:
docker-compose up -d
The command is pretty simple, the -d parameter instructs Docker to run the command in the background. As we did on the Docker run command.
The output of this command should be the following:
Take a look, docker-compose has created a network for our stack. In our case, the network driver is a bridge, after the network creation, the containers are started.