Building a Microservice with Docker Compose

Hands-On Lab


Photo of Travis Thomsen

Travis Thomsen

Course Development Director in Content





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 a Nginx service that will be publicly accessible an 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.