In this section, we are going to experience the power of the orchestration feature provided by the Docker Compose framework with the help of an example. For this purpose, we are going to build a two-tiered web application that will receive your inputs through a URL and respond with the associated response text. This application is built using the following two services, as enumerated here:
- Redis: This is a key-value database used to store a key and its associated value
- Node.js: This is a JavaScript runtime environment used to implement the web server functionality as well the application logic
Each of these services is packed inside two different containers that are stitched together using the docker-compose tool. The following ...