-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.js
More file actions
53 lines (51 loc) · 1.15 KB
/
ecosystem.config.js
File metadata and controls
53 lines (51 loc) · 1.15 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = {
/**
* Application configuration section
* http://pm2.keymetrics.io/docs/usage/application-declaration/
*/
apps: [
{
name: 'backend',
script: 'backend/dist/server.js',
watch: ['backend'],
env_production: {
NODE_ENV: 'production'
}
},
{
name: 'matchmaking',
script: 'matchmaking/javascript/server.js',
watch: ['matchmaking'],
env_production: {
NODE_ENV: 'production'
}
}
],
/**
* Deployment section
* http://pm2.keymetrics.io/docs/usage/deployment/
*/
deploy: {
production: {
key: 'E:/Keys/8bitwarframe.com/node/private_openssh',
user: 'node',
host: '178.62.33.251',
ref: 'origin/master',
repo: 'git@github.com:8-Bit-Warframe/Server.git',
path: '/var/www/production',
'post-deploy': 'chmod 777 ./install-dev.sh && ./install-dev.sh',
},
dev: {
key: 'E:/Keys/8bitwarframe.com/node/private_openssh',
user: 'node',
host: '178.62.33.251',
ref: 'origin/master',
repo: 'git@github.com:8-Bit-Warframe/Server.git',
path: '/var/www/development',
'post-deploy': 'chmod 777 ./install-dev.sh && ./install-dev.sh',
env: {
NODE_ENV: 'dev'
}
}
}
};