Skip to content

Commit

Permalink
Update pm2 configs
Browse files Browse the repository at this point in the history
  • Loading branch information
sipe90 committed Dec 28, 2018
1 parent 2c1dd40 commit 3ae520a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions ecosystem.deploy.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"ref": "origin/master",
"path": "/var/tradfri-control-panel",
"ssh_options": "StrictHostKeyChecking=no",
"post-deploy": "npm i && npm run build && pm2 startOrRestart ecosystem.json",
"env": {
"NODE_ENV": "production"
}
"post-deploy": "npm i && npm run build && pm2 startOrRestart ecosystem.json"
}
}
}
3 changes: 1 addition & 2 deletions ecosystem.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"apps": [{
"name": "tradfri-control-panel",
"script": "./src/server/app.js",
"script": "./src/server/app.ts",
"watch": false,
"env": {
"NODE_ENV": "production",
"NODE_PATH": "src/server",
"HOST": "0.0.0.0",
"PORT": 8080
}
Expand Down

0 comments on commit 3ae520a

Please sign in to comment.