vulcain.loadbalancer
v1.0.0
Published
Vulcain load balancer
Downloads
3
Readme
Vulcain load-balancer
Public proxy for vulcain environnement based on haproxy with automatic letsencrypt certificat generation and renewal To use on vulcain platform.
Installation
docker volume create --name Certificates
docker service create --name load-balancer -p 80:80 -p 443:443 -p 29000:29000 --network net-$cluster \
-e VULCAIN_SERVER=${server} -e VULCAIN_CLUSTER=$cluster -e VULCAIN_TOKEN=xxxxx \
--mount type=volume,src=Certificates,dst=/etc/letsencrypt \
vulcain/load_balancer
VULCAIN_CLUSTER : A valid environnement name in vulcain
VULCAIN_TOKEN : A token with
VULCAIN_SERVER : Vulcain server address
Accept only https connection (request on port 80 are redirected)
port 29000 is used for management and must not be accessible from outside
API
POST: host:29000/update : update configurations data: see ServiceDefinitions
GET: host:29000/restart : Restart haproxy