2019-03-20 19:08:19 +00:00
|
|
|
module.exports = {
|
|
|
|
apps: [{
|
|
|
|
name: 'roe-base',
|
|
|
|
script: 'app.js',
|
2019-04-23 20:42:07 +00:00
|
|
|
instances: 2,
|
2019-03-20 19:08:19 +00:00
|
|
|
autorestart: true,
|
|
|
|
watch: false,
|
|
|
|
env: {
|
|
|
|
NODE_ENV: 'development'
|
|
|
|
},
|
|
|
|
env_production: {
|
|
|
|
NODE_ENV: 'production',
|
2019-04-23 20:42:07 +00:00
|
|
|
DATABASE_CONNECTION: process.env.DATABASE_CONNECTION,
|
|
|
|
PASSPORT_GITHUB_ID: process.env.PASSPORT_GITHUB_ID,
|
|
|
|
PASSPORT_GITHUB_SECRET: process.env.PASSPORT_GITHUB_SECRET,
|
|
|
|
PASSPORT_GOOGLE_ID: process.env.PASSPORT_GOOGLE_ID,
|
|
|
|
PASSPORT_GOOGLE_SECRET: process.env.PASSPORT_GOOGLE_SECRET
|
2019-03-20 19:08:19 +00:00
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|