Sample Application Setup
Explore how to deploy and manage a multi-container application using Docker Compose. Understand the roles of services, networks, and volumes while working with a sample app to grasp build contexts and deployment processes.
We'll cover the following...
We'll cover the following...
The sample app
We’ll use the sample app shown in the figure below with two services, a network, and a volume.
The web-fe service runs a web server that increments a counter in the redis service every time it receives a request for the web page. Both services are connected to the counter-net network and use it to communicate. The web-fe service mounts the counter-vol volume.
This is all defined in the compose.yaml file in the multi-container folder of the ...