{"id":23674550,"url":"https://github.com/yogiex/medium-nginx-lb","last_synced_at":"2026-05-08T04:50:21.097Z","repository":{"id":270123155,"uuid":"909400829","full_name":"yogiex/medium-nginx-lb","owner":"yogiex","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-28T15:44:34.000Z","size":739,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T01:28:45.525Z","etag":null,"topics":["docker","load-balancer","nginx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yogiex.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-12-28T15:39:09.000Z","updated_at":"2024-12-28T15:44:38.000Z","dependencies_parsed_at":"2025-01-02T15:01:06.580Z","dependency_job_id":null,"html_url":"https://github.com/yogiex/medium-nginx-lb","commit_stats":null,"previous_names":["yogiex/medium-nginx-lb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yogiex/medium-nginx-lb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogiex%2Fmedium-nginx-lb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogiex%2Fmedium-nginx-lb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogiex%2Fmedium-nginx-lb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogiex%2Fmedium-nginx-lb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yogiex","download_url":"https://codeload.github.com/yogiex/medium-nginx-lb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogiex%2Fmedium-nginx-lb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32767591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","load-balancer","nginx"],"created_at":"2024-12-29T13:27:13.084Z","updated_at":"2026-05-08T04:50:21.063Z","avatar_url":"https://github.com/yogiex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nExpress JS with load balancing using Nginx\n\nExpress js running on port 3000\nNginx running on port 80\n\nUntuk port bisa diubah sesuai kebutuhan dan konfigurasi\nDi dalam code express js terdapat os.hostname untuk mengecek bahwa express berjalan didalam container yang berbeda.\nExpress js dibuat dalam beberapa container menggunaka replica docker-compose, kebutuhan container backend dapat disesuaikan.\n\n![gambar load balancer](./load-balancer.drawio.png)\nGambaran load balancer diatas\n\n# Git clone\n\nclone this repository\n\n# docker build\n\n```bash\nsudo docker-compose build\n```\n\n# docker up\n\n```bash\nsudo docker-compose up\n```\n\nor running in background\n\n```bash\nsudo docker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogiex%2Fmedium-nginx-lb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyogiex%2Fmedium-nginx-lb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogiex%2Fmedium-nginx-lb/lists"}