From 4f4bba16d34df7548ebff1f588f38772612be8a4 Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Mon, 6 Mar 2017 14:07:20 -0800 Subject: [PATCH] updated pm2 ecosystem.json --- ecosystem.json | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/ecosystem.json b/ecosystem.json index 895df5b5..e52e6307 100644 --- a/ecosystem.json +++ b/ecosystem.json @@ -7,28 +7,29 @@ "max_memory_restart" : "200M" }], "deploy" : { - "stage" : { - "user" : "polydaic", - "host" : "159.203.42.158", - "ref" : "origin/stage", - "repo" : "git@github.com:whitef0x0/tellform.git", - "path" : "/opt/deploy", - "post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production", - "env" : { - "NODE_ENV": "production", + "stage": { + "user": "polydaic", + "host": "159.203.42.158", + "ref": "origin/stage", + "repo": "git@github.com:whitef0x0/tellform.git", + "path": "/opt/deploy", + "post-deploy": "npm install && pm2 startOrGracefulReload ecosystem.json --env production", + "env": { + "NODE_ENV": "production", "BASE_URL": "stage.tellform.com" - } + } }, - "prod" : { - "user" : "polydaic", - "host" : "159.203.33.182", - "ref" : "origin/master", - "repo" : "git@github.com:whitef0x0/tellform.git", - "path" : "/opt/deploy", - "post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production", - "env" : { - "NODE_ENV": "production", - "BASE_URL": "admin.tellform.com" - } - } + "prod": { + "user": "polydaic", + "host": "159.203.33.182", + "ref": "origin/master", + "repo": "git@github.com:whitef0x0/tellform.git", + "path": "/opt/deploy", + "post-deploy": "npm install && pm2 startOrGracefulReload ecosystem.json --env production", + "env": { + "NODE_ENV": "production", + "BASE_URL": "admin.tellform.com" + } + } + } }