autobaan/ecosystem.config.js
Collin Duncan 0ac1644eb1
All checks were successful
ci/woodpecker/push/test Pipeline was successful
Adding pm2 ecosystem and deploy config
2025-04-28 13:45:11 +02:00

19 lines
328 B
JavaScript

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',
},
},
}