Compare commits

...

2 Commits

Author SHA1 Message Date
62cb2ad215 Updated production vars. 2025-12-14 00:20:29 +00:00
e61fc55338 Added pm2 ecosystem. 2025-12-14 00:20:17 +00:00
2 changed files with 16 additions and 2 deletions

View File

@ -63,9 +63,9 @@
"requiredRoles": [] "requiredRoles": []
}, },
"app": { "app": {
"urlClient": "http://localhost:3000", "urlClient": "https://web.farmcontrol.app",
"urlElectronClient": "http://localhost:3000", "urlElectronClient": "http://localhost:3000",
"urlApi": "http://localhost:8080", "urlApi": "https://api.farmcontrol.app",
"devAuthClient": "http://localhost:3500" "devAuthClient": "http://localhost:3500"
}, },
"database": { "database": {

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