Adding pm2 ecosystem and deploy config
All checks were successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
eff0e5849e
commit
0ac1644eb1
3 changed files with 1167 additions and 22 deletions
19
ecosystem.config.js
Normal file
19
ecosystem.config.js
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
module.exports = {
|
||||||
|
apps: [
|
||||||
|
{
|
||||||
|
name: 'autobaan',
|
||||||
|
script: 'npm',
|
||||||
|
args: 'run start',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
deploy: {
|
||||||
|
production: {
|
||||||
|
user: 'root',
|
||||||
|
host: ['192.168.3.170'],
|
||||||
|
ref: 'origin/main',
|
||||||
|
repo: 'https@fred.collinduncan.com/collin/autobaan.git',
|
||||||
|
path: '/root/autobaan',
|
||||||
|
'post-deploy': 'npm install',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
1169
package-lock.json
generated
1169
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -61,6 +61,7 @@
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||||
"jest": "29.5.0",
|
"jest": "29.5.0",
|
||||||
|
"pm2": "^6.0.5",
|
||||||
"prettier": "^2.3.2",
|
"prettier": "^2.3.2",
|
||||||
"source-map-support": "^0.5.20",
|
"source-map-support": "^0.5.20",
|
||||||
"supertest": "^6.1.3",
|
"supertest": "^6.1.3",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue