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