haproxy | ||
server | ||
docker-compose.yml | ||
README.md |
Starting the project
Everything is packaged via Docker Compose. Just build the images and run them.
docker-compose build
docker-compose up -d
Usage
By default the load balancer is bound to the local machine's 8080 port. Sending a web request via any browser (or cURL) should return the id of the serving container.
curl http://127.0.0.1:8080/