Created
August 14, 2025 12:56
-
-
Save asifulmamun/c76b752673cb15370e9e69def07d77ab to your computer and use it in GitHub Desktop.
NodeJS ecosystem file for PM2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
apps: [ | |
{ | |
name: 'bazaarbound-backend', | |
script: 'dist/main.js', // adjust if your entry file is different | |
watch: ['./dist'], | |
env: { | |
NODE_ENV: 'production', | |
AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE: '1', | |
}, | |
}, | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment