Files
freeplanet_serverside/ecosystem.config.js
Paolo Arena 06cd4b8f0d Resolved error Unknown modifier: $pushAll
adding this:

 mongoose.plugin(schema => { schema.options.usePushEach = true });
2018-12-27 18:13:43 +01:00

18 lines
305 B
JavaScript

module.exports = {
apps : [
{
name: "FreePlanetServerSide",
script: "./server/server.js",
watch: true,
env: {
"PORT": 3000,
"NODE_ENV": "development"
},
env_production: {
"PORT": 8080,
"NODE_ENV": "production",
}
}
]
}