/docker-compose-scale-example

Example of Docker Compose scale and load balancing features

Primary LanguageJavaScript

docker-compose-scale-example

Example of Docker Compose scale and simple DNS-based load balancing features. See docker-compose.yaml for more info.

Services

  • Nginx
  • Node.js Express app (3 instances)

Demo

  1. Run docker-compose up -d
  2. Navigate to localhost:8000
  3. Refresh the page

License

MIT