{"action":"created","issue":{"url":"https://api.github.com/repos/keymetrics/doc-pm2/issues/173","repository_url":"https://api.github.com/repos/keymetrics/doc-pm2","labels_url":"https://api.github.com/repos/keymetrics/doc-pm2/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/keymetrics/doc-pm2/issues/173/comments","events_url":"https://api.github.com/repos/keymetrics/doc-pm2/issues/173/events","html_url":"https://github.com/keymetrics/doc-pm2/issues/173","id":327757032,"node_id":"MDU6SXNzdWUzMjc3NTcwMzI=","number":173,"title":"Load-Balancing | Guide | PM2 Documentation","user":{"login":"robin-monnier","id":18701290,"node_id":"MDQ6VXNlcjE4NzAxMjkw","avatar_url":"https://avatars0.githubusercontent.com/u/18701290?v=4","gravatar_id":"","url":"https://api.github.com/users/robin-monnier","html_url":"https://github.com/robin-monnier","followers_url":"https://api.github.com/users/robin-monnier/followers","following_url":"https://api.github.com/users/robin-monnier/following{/other_user}","gists_url":"https://api.github.com/users/robin-monnier/gists{/gist_id}","starred_url":"https://api.github.com/users/robin-monnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin-monnier/subscriptions","organizations_url":"https://api.github.com/users/robin-monnier/orgs","repos_url":"https://api.github.com/users/robin-monnier/repos","events_url":"https://api.github.com/users/robin-monnier/events{/privacy}","received_events_url":"https://api.github.com/users/robin-monnier/received_events","type":"User","site_admin":false},"labels":[{"id":949427222,"node_id":"MDU6TGFiZWw5NDk0MjcyMjI=","url":"https://api.github.com/repos/keymetrics/doc-pm2/labels/11f7c89de8fd4c57d39a4f1e540fd7ec","name":"11f7c89de8fd4c57d39a4f1e540fd7ec","color":"ededed","default":false},{"id":900679970,"node_id":"MDU6TGFiZWw5MDA2Nzk5NzA=","url":"https://api.github.com/repos/keymetrics/doc-pm2/labels/Gitalk","name":"Gitalk","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-05-30T14:28:24Z","updated_at":"2018-10-03T17:53:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://pm2.io/doc/en/runtime/guide/load-balancing/ \n\n PM2 - Guide, References, Tutorials and Best Practices about PM2 and Node.js."},"comment":{"url":"https://api.github.com/repos/keymetrics/doc-pm2/issues/comments/426733745","html_url":"https://github.com/keymetrics/doc-pm2/issues/173#issuecomment-426733745","issue_url":"https://api.github.com/repos/keymetrics/doc-pm2/issues/173","id":426733745,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjczMzc0NQ==","user":{"login":"acba","id":816098,"node_id":"MDQ6VXNlcjgxNjA5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/816098?v=4","gravatar_id":"","url":"https://api.github.com/users/acba","html_url":"https://github.com/acba","followers_url":"https://api.github.com/users/acba/followers","following_url":"https://api.github.com/users/acba/following{/other_user}","gists_url":"https://api.github.com/users/acba/gists{/gist_id}","starred_url":"https://api.github.com/users/acba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acba/subscriptions","organizations_url":"https://api.github.com/users/acba/orgs","repos_url":"https://api.github.com/users/acba/repos","events_url":"https://api.github.com/users/acba/events{/privacy}","received_events_url":"https://api.github.com/users/acba/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T17:53:49Z","updated_at":"2018-10-03T17:53:49Z","author_association":"NONE","body":"> @vmarchaud\n> @acba You can't override them with the CLI when using a ecosystem, PM2 expect to find all the config in the ecosystem file\n\nGotcha!\nI was using a .json file, changed to a .js ecosystem file and did :\n\nconst n = (process.argv.indexOf('-i') !== -1) ? Number(process.argv[process.argv.indexOf('-i')+1]) : -1;\n\n...\ninstances: n,\n...\n\nNow pm2 can start with all the other parameters configured on the eco file and a i can change the number of instances through my docker env variable."}}
{"actor":{"display_login":"acba"}}