An open API service indexing awesome lists of open source software.

https://github.com/flavienbwk/haproxy-docker

Example of HAProxy implementation with Docker. Serving web servers.
https://github.com/flavienbwk/haproxy-docker

docker docker-compose haproxy

Last synced: about 2 months ago
JSON representation

Example of HAProxy implementation with Docker. Serving web servers.

Awesome Lists containing this project

README

          

# HAProxy Docker

Example of HAProxy implementation with Docker. Serving web servers.

HAProxy allows performing load-balancing actions to avoid SPOF (single points of failure).

## Start

1. Run the containers

```bash
docker-compose up -d
```

2. Access HAProxy : [`http://localhost:8080`](http://localhost:8080)

Access the HAProxy panel at [`http://localhost:8404`](http://localhost:8404)

To update HAProxy configuration [without service interuption](https://serverfault.com/questions/1026631/how-to-send-a-signal-to-a-docker-container-without-affecting-restart-policy), run the following command :

```bash
docker kill -s HUP haproxy
```