Skip to content

Repo to store HAProxy configuration for Interview candidates

Notifications You must be signed in to change notification settings

shitizbansal/haproxy-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

This page explains the design of the HAproxy loadbalancer configuration and the apache containers running as containers. The HAproxy and the apache servers are running in the same network

. Assuming the docker network to be 172.17.0.2/16 . The apache server will be taking the subsequent IPs.

How to run the scripts ?

  • First run the docker-init.sh in the exzeo folder.
  • Note down the ip addresses of the apache servers.
  • Execute the command 'docker exec -it /bin/bash'
  • Then run the haproxy script inside the haproxy container.

What has not been done ?

  • DNS resolution. Reason being i need some more time.
  • Reverse Proxy . I haven't implemented it earlier and need to study on this but can be achievable.

About

Repo to store HAProxy configuration for Interview candidates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%