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.
- Host: GitHub
- URL: https://github.com/flavienbwk/haproxy-docker
- Owner: flavienbwk
- Created: 2022-12-21T13:37:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T00:39:50.000Z (over 3 years ago)
- Last Synced: 2025-03-23T09:35:26.918Z (over 1 year ago)
- Topics: docker, docker-compose, haproxy
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```