forked from forwardemail/free-email-forwarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.json
66 lines (66 loc) · 1.55 KB
/
ecosystem.json
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
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"apps": [
{
"name": "smtp",
"script": "app.js",
"exec_mode": "cluster_mode",
"wait_ready": true,
"instances": "max",
"node_args": "--tls-min-v1.0",
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": "3025",
"IS_NOT_SECURE": "true"
}
},
{
"name": "smtps",
"script": "app.js",
"exec_mode": "cluster_mode",
"wait_ready": true,
"instances": "max",
"node_args": "--tls-min-v1.0",
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": "3465"
}
},
{
"name": "msa",
"script": "app.js",
"exec_mode": "cluster_mode",
"wait_ready": true,
"instances": "max",
"node_args": "--tls-min-v1.0",
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": "3587"
}
},
{
"name": "proxy",
"script": "proxy.js",
"exec_mode": "cluster_mode",
"wait_ready": true,
"instances": "max",
"env_production": {
"NODE_ENV": "production"
}
}
],
"deploy": {
"production": {
"user": "deploy",
"host": [
"us-sf-1-mx1-forwardemail-net-deploy",
"uk-london-1-mx1-forwardemail-net-deploy",
"us-nyc-1-mx2-forwardemail-net-deploy"
],
"ref": "origin/master",
"repo": "[email protected]:niftylettuce/forward-email.git",
"path": "/var/www/production",
"post-deploy":
"yarn && pm2 startOrGracefulReload ecosystem.json --env production --update-env"
}
}
}