Added pm2 ecosystem.

This commit is contained in:
Tom Butcher 2025-12-14 00:20:08 +00:00
parent 85e2ad8d6f
commit 57e9f76ec6

14
ecosystem.config.js Normal file
View File

@ -0,0 +1,14 @@
module.exports = {
apps: [
{
name: 'farmcontrol-ws',
script: 'index.js',
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production'
}
}
]
};