avniproject / avni-media

Next.js application to view Media files for an organization
GNU General Public License v3.0
1 stars 0 forks source link

Setup separate config file to be used by PM2 for running node apps #131

Open himeshr opened 1 year ago

himeshr commented 1 year ago

Apps that need pm2 config file

Tech tasks

Setup separate config file to be used by PM2 for running avni-media client, server and rules-server apps

Approach

It can be achieving by creating ecosystem.config.js as Jinja 2 template file and adding necessary envs and startup script(app.js) in it, and using the ecosystem.config.js to start the node process

vinayvenu commented 1 year ago

@himeshr we don't use the enhancement label since everything that is not a bug or bugsnag is an enhancement. Also, do mark to appropriate epic when done.