This commit is contained in:
Martin Donnelly 2018-02-23 22:36:59 +00:00
parent 67623d0ebb
commit ba40d64ae0

33
ecosystem.json Normal file
View File

@ -0,0 +1,33 @@
{
/**
* Application configuration section
* http://pm2.keymetrics.io/docs/usage/application-declaration/
*/
apps: [
// First application
{
"name": "Jubilee",
"script": "server.js",
"cwd": "/var/www/keeper",
"watch": true,
"ignore_watch" : ["node_modules"],
"merge_logs" : true,
"autorestart" : true,
"restart_delay" : 3500,
"max_memory_restart" : "300M",
env: {
COMMON_VARIABLE: "true"
},
env_production: {
NODE_ENV: "production"
}
}
],
/**
* Deployment section
* http://pm2.keymetrics.io/docs/usage/deployment/
*/
deploy: {
}
}