Docker Compose is an awesome tool for deploying and running a set of microservices that can be connected each other. It helps you to define a multi-container application with configuration parameters in a human-readable YAML file. You are not limited to local deployment only and you can deploy it on a remote server on which the Docker daemon is also running.
In this section of the chapter, we will pack all our microservices with a database into a single application. You will learn how to set variables for Rust frameworks and loggers, how to connect microservices, how to define the order to start containers, how to read the logs of a running application, and how to use different configurations for testing and production.