{"id":50915129,"url":"https://github.com/maximization/scaling-nodejs-with-docker","last_synced_at":"2026-06-16T14:01:57.341Z","repository":{"id":60911092,"uuid":"258455157","full_name":"Maximization/scaling-nodejs-with-docker","owner":"Maximization","description":"Sample Node.js project showing how to scale horizontally with Docker","archived":false,"fork":false,"pushed_at":"2025-09-10T19:08:32.000Z","size":11,"stargazers_count":50,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T22:51:02.048Z","etag":null,"topics":["cluster-mode","docker","pm2","scale"],"latest_commit_sha":null,"homepage":"https://maximorlov.com/from-pm2-to-docker-cluster-mode/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maximization.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-24T08:39:56.000Z","updated_at":"2025-09-10T19:08:36.000Z","dependencies_parsed_at":"2022-10-06T15:24:06.471Z","dependency_job_id":null,"html_url":"https://github.com/Maximization/scaling-nodejs-with-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Maximization/scaling-nodejs-with-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maximization%2Fscaling-nodejs-with-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maximization%2Fscaling-nodejs-with-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maximization%2Fscaling-nodejs-with-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maximization%2Fscaling-nodejs-with-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maximization","download_url":"https://codeload.github.com/Maximization/scaling-nodejs-with-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maximization%2Fscaling-nodejs-with-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34408788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cluster-mode","docker","pm2","scale"],"created_at":"2026-06-16T14:01:55.947Z","updated_at":"2026-06-16T14:01:57.332Z","avatar_url":"https://github.com/Maximization.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scaling Node.js with Docker\n\nThis project shows how to scale a Node.js application with Docker Compose and use multiple CPU cores. It's similar to cluster mode in PM2, but with a few fundemantal differences. Read more in the accompanying article — [From PM2 to Docker: Cluster Mode](https://maximorlov.com/from-pm2-to-docker-cluster-mode/).\n\n## Getting started\n\n1. Clone this repository `git clone https://github.com/Maximization/scaling-nodejs-with-docker.git \u0026\u0026 cd scaling-nodejs-with-docker`\n\n2. Start the application stack scaled to four app instances `docker-compose up -d --scale app=4`\n\n3. Visit `http://localhost` in your browser\n\n4. Hit refresh and you will see sequential responses from each application instance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximization%2Fscaling-nodejs-with-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximization%2Fscaling-nodejs-with-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximization%2Fscaling-nodejs-with-docker/lists"}