Added pm2 ecosystem.

This commit is contained in:
Tom Butcher 2025-12-14 00:20:17 +00:00
parent 2a8176b91c
commit e61fc55338

14
ecosystem.config.js Normal file
View File

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