From ba40d64ae01f1bd69ab027ddd85594fbe3f945e2 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 23 Feb 2018 22:36:59 +0000 Subject: [PATCH] Niggles --- ecosystem.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ecosystem.json diff --git a/ecosystem.json b/ecosystem.json new file mode 100644 index 0000000..bf1f16b --- /dev/null +++ b/ecosystem.json @@ -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: { + + } +}