{"id":23782435,"url":"https://github.com/rongfengliang/lua-resty-shell-docker--multi-running","last_synced_at":"2026-05-08T05:04:57.982Z","repository":{"id":106172702,"uuid":"160749257","full_name":"rongfengliang/lua-resty-shell-docker--multi-running","owner":"rongfengliang","description":"lua-resty-shell-docker--multi-running","archived":false,"fork":false,"pushed_at":"2018-12-07T05:37:45.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T18:17:12.144Z","etag":null,"topics":["ci","docker","docker-compose","lua-resty-shell","nodejs","openresty"],"latest_commit_sha":null,"homepage":null,"language":"C","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/rongfengliang.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":"2018-12-07T00:27:20.000Z","updated_at":"2023-08-10T08:28:03.000Z","dependencies_parsed_at":"2023-04-01T11:17:54.766Z","dependency_job_id":null,"html_url":"https://github.com/rongfengliang/lua-resty-shell-docker--multi-running","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongfengliang%2Flua-resty-shell-docker--multi-running","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongfengliang%2Flua-resty-shell-docker--multi-running/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongfengliang%2Flua-resty-shell-docker--multi-running/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rongfengliang%2Flua-resty-shell-docker--multi-running/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rongfengliang","download_url":"https://codeload.github.com/rongfengliang/lua-resty-shell-docker--multi-running/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239993748,"owners_count":19730778,"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":["ci","docker","docker-compose","lua-resty-shell","nodejs","openresty"],"created_at":"2025-01-01T12:14:54.113Z","updated_at":"2025-11-11T05:03:27.150Z","avatar_url":"https://github.com/rongfengliang.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-resty-shell with docker multi running\n\nuse nginx stream \u0026\u0026 resolver config \u0026\u0026 shell with socket connect\n\n## how to run\n\n* build  image\n\n```code\ndocker-compose build\n```\n\n* running\n\n```code\ndocker-compose up -d\n```\n\n* test\n\n```code\nopen http://localhost:8080/test\n\nyou will see all directory in root path\n```\n\n* scale backend service\n\n```code\ndocker-compose scale backend=3\n```\n\n```code\ndocker-compose ps\n             Name                    Command       State          Ports\n-------------------------------------------------------------------------------\nopenresty-shell-multi_app_1       /entrypoint.sh   Up      0.0.0.0:8080-\u003e80/tcp\nopenresty-shell-multi_backend_1   /entrypoint.sh   Up\nopenresty-shell-multi_backend_2   /entrypoint.sh   Up\nopenresty-shell-multi_backend_3   /entrypoint.sh   Up\n```\n\n* nodejs app build demo\n\n```code\nopen http://localhost:8080/node\n```\nresult like below\n\n```code\n/usr/bin/yarn -\u003e /usr/lib/node_modules/yarn/bin/yarn.js\n/usr/bin/yarnpkg -\u003e /usr/lib/node_modules/yarn/bin/yarn.js\n+ yarn@1.12.3\nupdated 1 package in 0.521s\nyarn init v1.12.3\nsuccess Saved package.json\nDone in 0.06s.\nyarn add v1.12.3\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\nsuccess Saved 1 new dependency.\ninfo Direct dependencies\n└─ uuid@3.3.2\ninfo All dependencies\n└─ uuid@3.3.2\nDone in 1.16s.\n.\n├── node_modules\n│   └── uuid\n│       ├── AUTHORS\n│       ├── CHANGELOG.md\n│       ├── LICENSE.md\n│       ├── README.md\n│       ├── README_js.md\n│       ├── bin\n│       │   └── uuid\n│       ├── index.js\n│       ├── lib\n│       │   ├── bytesToUuid.js\n│       │   ├── md5-browser.js\n│       │   ├── md5.js\n│       │   ├── rng-browser.js\n│       │   ├── rng.js\n│       │   ├── sha1-browser.js\n│       │   ├── sha1.js\n│       │   └── v35.js\n│       ├── package.json\n│       ├── v1.js\n│       ├── v3.js\n│       ├── v4.js\n│       └── v5.js\n├── package.json\n└── yarn.lock\n\n4 directories, 22 files\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongfengliang%2Flua-resty-shell-docker--multi-running","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frongfengliang%2Flua-resty-shell-docker--multi-running","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frongfengliang%2Flua-resty-shell-docker--multi-running/lists"}