Docker implemented HAProxy model with 2 server Round Robin.
-
Clone the repository.
-
Make the environment up.
$ docker-compose up -d
-
Visit
http://127.0.0.1
. The page shows which server was responsed. -
Visit
http://127.0.0.1:8080
with default user/password:admin/admin
for statistics panel. -
If you turn one of them off, the server will be kicked out after 5 hartbeat retries.