This repository demonstrates how to implement load balancing for a Golang application using NGINX and Docker.
This project sets up a simple Golang application with multiple instances, using NGINX as a load balancer to distribute incoming requests. Docker is used to containerize the application and manage the services.
Before running this project, ensure you have the following installed:
First, clone this repository to your local machine:
git clone https://github.com/anamul94/load-balancing.git
cd load-balancing
Use Docker Compose to build and run the Docker containers:
docker-compose up -build
The application will be accessible at http://localhost:8000.