add ecosystem file

Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
Alexis Tyler
2019-06-13 13:07:17 +09:30
parent 74a23da1b2
commit e659681d5f
+21
View File
@@ -0,0 +1,21 @@
/* eslint-disable camelcase */
module.exports = {
apps: [
{
name: 'my_servers-client',
script: './index.js',
watch: false,
wait_ready: true,
listen_timeout: 3000,
env: {
PORT: 5000,
NODE_ENV: 'development'
},
env_production: {
PORT: '/var/run/my_servers-client.sock',
NODE_ENV: 'production'
}
}
]
};