ecosystem env

This commit is contained in:
Sergey Yarkov 2020-01-30 23:35:24 +03:00
parent af04a2619e
commit 0c964e2135

19
ecosystem.config.js Normal file
View File

@ -0,0 +1,19 @@
module.exports = {
apps : [{
name: 'server',
script: 'config/server.js',
autorestart: true,
watch: false,
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production',
DATABASE_URI: '',
DATABASE_NAME: '',
EMAIL_LOGIN: '',
EMAIL_PASSWORD: '',
QIWI_SECRET_KEY: ''
}
}],
};