From e7affd3f6517964fd235f262c0f176941645a94b Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Thu, 7 Jul 2016 17:07:19 -0700 Subject: [PATCH] Add dashboard pm2 config --- pm2-prod-api.yml | 4 ---- pm2-prod-dashboard.yml | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 pm2-prod-dashboard.yml diff --git a/pm2-prod-api.yml b/pm2-prod-api.yml index 5a6e886ba..e6f679b56 100644 --- a/pm2-prod-api.yml +++ b/pm2-prod-api.yml @@ -5,7 +5,3 @@ apps: exec_mode: cluster env : PORT: 5100 - - script : packages/nylas-dashboard/app.js - name : dashboard - instances: 1 - exec_mode: cluster diff --git a/pm2-prod-dashboard.yml b/pm2-prod-dashboard.yml new file mode 100644 index 000000000..5f5e4234e --- /dev/null +++ b/pm2-prod-dashboard.yml @@ -0,0 +1,7 @@ +apps: + - script : packages/nylas-dashboard/app.js + name : dashboard + instances: 0 + exec_mode: cluster + env : + PORT: 5100