forked from circlecell/validatejavascript.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.js
More file actions
28 lines (27 loc) · 757 Bytes
/
Copy pathecosystem.config.js
File metadata and controls
28 lines (27 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
apps: [
{
name: 'validatejavascript.com',
script: 'packages/backend/index.js',
error_file: '/var/web/validatejavascript.com/logs/err.log',
out_file: '/var/web/validatejavascript.com/logs/out.log',
env: {
NODE_ENV: 'production',
PORT: '5004',
},
env_production: {
},
},
],
deploy: {
production: {
user: 'deployer',
host: '192.241.157.86',
ref: 'origin/master',
repo: 'git@github.com:circlecell/validatejavascript.com.git',
path: '/var/web/validatejavascript.com',
ssh_options: ['StrictHostKeyChecking=no', 'PasswordAuthentication=no'],
'post-deploy': 'npm run ci-all && npm run build && npm start',
},
},
};