Skip to content

Instantly share code, notes, and snippets.

@burkeholland
Last active August 18, 2019 23:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burkeholland/0d40bffd945a3004a2e89a6ab9491bba to your computer and use it in GitHub Desktop.
Save burkeholland/0d40bffd945a3004a2e89a6ab9491bba to your computer and use it in GitHub Desktop.
module.exports = {
apps: [
{
name: "Express App",
script: "index.js",
instances: 4,
autorestart: true,
watch: true,
max_memory_restart: "1G",
env: {
NODE_ENV: "development"
},
env_production: {
NODE_ENV: "production"
}
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment