Skip to content

Instantly share code, notes, and snippets.

@AhmedCommando
Created July 5, 2019 21:53
Show Gist options
  • Save AhmedCommando/e5b9a6b416bb0b1d5070c047ed8b97f7 to your computer and use it in GitHub Desktop.
Save AhmedCommando/e5b9a6b416bb0b1d5070c047ed8b97f7 to your computer and use it in GitHub Desktop.
pm2 ecosystem file for development environment
module.exports = {
apps: [
{
// we load the common config
...require('./pm2.config'),
// we set environment variables
env: {
"PORT": 3000,
"NODE_ENV": "development"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment