Skip to content

Instantly share code, notes, and snippets.

@jackfiallos
Last active August 22, 2018 18:38
Show Gist options
  • Select an option

  • Save jackfiallos/a9363778cedb55207d7f32c3f7104092 to your computer and use it in GitHub Desktop.

Select an option

Save jackfiallos/a9363778cedb55207d7f32c3f7104092 to your computer and use it in GitHub Desktop.
module.exports = {
apps: [
{
name: 'api.domain.com',
script: 'server.js',
output: './logs/api.console.log',
error: './logs/api.error.log',
log_type: 'json',
log_date_format: 'DD-MM-YYYY',
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