Skip to main content

Building a Microservice with Docker Compose

Hands-On Lab


Photo of

Training Architect





You’ve just completed developing your weather application, and are ready to deploy it to your production Docker server. After doing some analysis, you decided to deploy three containers that will be load-balanced using Nginx. To do this you need to create a Docker Compose file that will create three weather-app services on a private network. Then you will create an Nginx service that will be publicly accessible and have it load balance traffic to the weather-app services.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.