Docker Compose
Learn about docker-compose and how to use it to compose multiple applications.
The challenge of running multiple services
So far, we’ve focused on containerizing a single application and running a single container. But in reality, a fully functioning application is rarely made of one component. Most applications are made of numerous services.
Let’s consider an e-commerce SalesGuru’s website as an example. Like other applications, we could visit the website through our browser and register our account. We may even add items to carts and wishlists, add payment methods, and place an order.
A separate microservice could power each section of the application as shown in the image below:
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy