{"id":22455441,"url":"https://github.com/ahmedalaa14/apache-loadbalancer","last_synced_at":"2025-03-27T13:18:00.700Z","repository":{"id":217015129,"uuid":"742898967","full_name":"ahmedalaa14/apache-loadbalancer","owner":"ahmedalaa14","description":"Creating a single HAProxy and two Apache containers with Docker compose.","archived":false,"fork":false,"pushed_at":"2024-08-18T05:16:38.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T17:42:30.367Z","etag":null,"topics":["apache","docker-compose","hapr","html5","load-balancer"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmedalaa14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-13T17:45:27.000Z","updated_at":"2024-08-18T05:16:41.000Z","dependencies_parsed_at":"2024-01-19T19:44:12.270Z","dependency_job_id":"50fa4c23-5ce1-4b54-91c1-c7c25f04885b","html_url":"https://github.com/ahmedalaa14/apache-loadbalancer","commit_stats":null,"previous_names":["ahmedalaa14/apache-loadbalancer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedalaa14%2Fapache-loadbalancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedalaa14%2Fapache-loadbalancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedalaa14%2Fapache-loadbalancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedalaa14%2Fapache-loadbalancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmedalaa14","download_url":"https://codeload.github.com/ahmedalaa14/apache-loadbalancer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245850360,"owners_count":20682647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","docker-compose","hapr","html5","load-balancer"],"created_at":"2024-12-06T07:11:52.847Z","updated_at":"2025-03-27T13:18:00.663Z","avatar_url":"https://github.com/ahmedalaa14.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Creating a single HAProxy and two Apache containers with Docker compose.\n- In this porject we will create two identical Apache servers and one HAProxy container.\n\n- When we want to access our website, We will be calling HAProxy, not the Apache servers. HAProxy will divert traffic to Apache servers in \"round-robin\" fashion.\n\n1. HTTP Request goes to HAProxy container.\n\n2. HAProxy container goes either Apache container 1 or 2.\n\n3. Response is served by Apache container 1 or 2.\n\n* To test this use command\n$ for in in {1..10} ; do echo \"the working server is curl -s http://127.0.0.1:90/\"; done\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedalaa14%2Fapache-loadbalancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedalaa14%2Fapache-loadbalancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedalaa14%2Fapache-loadbalancer/lists"}