Created
July 5, 2019 21:53
-
-
Save AhmedCommando/e5b9a6b416bb0b1d5070c047ed8b97f7 to your computer and use it in GitHub Desktop.
pm2 ecosystem file for development environment
This file contains 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: [ | |
{ | |
// 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