-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathecosystem.json5
More file actions
44 lines (41 loc) · 1023 Bytes
/
ecosystem.json5
File metadata and controls
44 lines (41 loc) · 1023 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
/**
* Here we declare the apps that must be managed by PM2
* All options are listed here:
* https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#json-app-declaration
*
*/
apps : [
// First application
{
name : "GitStars.com",
script : "server/app.js",
log_date_format: "YY-MM-DD HH:mm:ss Z",
env: {
},
env_production : {
NODE_ENV: "production",
IP: "127.0.0.1",
DOMAIN: "gitstars.com",
GITHUB_ID: "",
GITHUB_SECRET: ""
}
}
],
/**
* PM2 help you to deploy apps over your servers
* For more help go to :
* https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#deployment-pm2--090
*/
deploy : {
production : {
user : "pm2",
host : "gitstars.com",
port : "46800",
ref : "origin/dist",
repo : "git@github.com:jkeylu/GitStars.com.git",
path : "/home/pm2/GitStars.com",
"post-deploy" : "echo skip post-deploy"
}
}
}