frontend work !
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m40s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m40s
This commit is contained in:
15
ecosystem.config.cjs
Normal file
15
ecosystem.config.cjs
Normal file
@@ -0,0 +1,15 @@
|
||||
// ecosystem.config.cjs
|
||||
// This file is the standard way to configure applications for PM2.
|
||||
// It allows us to define all the settings for our application in one place.
|
||||
// The .cjs extension is required because the project's package.json has "type": "module".
|
||||
|
||||
module.exports = {
|
||||
apps: [{
|
||||
name: 'flyer-crawler-api', // The name of our application in PM2
|
||||
script: 'npm', // The script to run (we want to run an npm command)
|
||||
args: 'run start', // The arguments to pass to the script (i.e., 'npm run start')
|
||||
env_production: {
|
||||
NODE_ENV: 'production', // Set the Node.js environment to production
|
||||
},
|
||||
}],
|
||||
};
|
||||
Reference in New Issue
Block a user