You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using docker container and to run PM2 with different count of instances depends on environment (prod or staging). In both cases i have common ecosystem config:
The text was updated successfully, but these errors were encountered:
VeXell
changed the title
PM2 does not read cli --instances param if run ecosystem file
PM2 (pm2-runtime) does not read cli --instances param if run ecosystem file (only docker)
Jan 30, 2023
What's going wrong?
I am using docker container and to run PM2 with different count of instances depends on environment (prod or staging). In both cases i have common ecosystem config:
And command in docker
When i run docker container PM2 spawns only 1 instance instead of 2.
I think it might be a problem in that file
pm2/lib/API.js
Line 1012 in 5e70845
Because in that case instances has
String
typeSupporting information
The text was updated successfully, but these errors were encountered: