pm2
Version: 
Modern CLI process manager for Node apps with a builtin load-balancer
20 lines (19 loc) • 374 B
JSON
{
  "apps" : [{
    "script":"examples/child.js",
    "name":"API-web",
    "instances":3
  },{
    "script":"examples/echo.js",
    "name":"API-io",
    "instances":2
  }],
  "deploy" : {
    "production" : {
      "user" : "node",
      "host" :  "212.83.163.168",
      "repo" : "git@github.com:Unitech/eip-vitrine.git",
      "path" : "/var/www/test-deploy"
    }
  }
}