Sample Application Setup
Get introduced to a sample multi-container application with web services defined in the compose.yaml file.
We'll cover the following...
The sample app
We’ll use the sample app shown in figure below with two services, a network, and a volume.
Press + to interact
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 with each other. The web-fe
service mounts the counter-vol
volume.
This is all defined in the compose.yaml
file in the multi-container
folder of ...