A simple docker nginx load balancer example
Checkout the full article here.
NOTE I do not recommend using NGINX for load balancing in Docker Compose. This repo is for demo purposes only. I prefer using Caddy instead. Read about how to do that here
docker-compose up --build --remove-orphans