forked from forwardemail/forwardemail.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem-smtp.json
101 lines (101 loc) · 2.29 KB
/
ecosystem-smtp.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"apps": [
{
"name": "smtp-tls-587",
"script": "smtp.js",
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": 587
}
},
{
"name": "smtp-tls-2587",
"script": "smtp.js",
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": 2587
}
},
{
"name": "smtp-tls-25",
"script": "smtp.js",
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": 25
}
},
{
"name": "smtp-tls-2525",
"script": "smtp.js",
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": 2525
}
},
{
"name": "smtp-ssl-465",
"script": "smtp.js",
"max_restarts": 999,
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": 465
}
},
{
"name": "smtp-ssl-2465",
"script": "smtp.js",
"max_restarts": 999,
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production",
"SMTP_PORT": 2465
}
},
{
"name": "smtp-bree",
"script": "smtp-bree.js",
"max_restarts": 999,
"exec_mode": "fork",
"wait_ready": true,
"instances": "1",
"pmx": false,
"env_production": {
"NODE_ENV": "production"
}
}
],
"deploy": {
"production": {
"user": "deploy",
"host": ["164.92.70.200", "149.28.215.223"],
"ref": "origin/master",
"repo": "git@github.com:forwardemail/forwardemail.net.git",
"path": "/var/www/production",
"pre-deploy": "git reset --hard",
"post-deploy": "pnpm install && NODE_ENV=production npm start build && pm2 startOrGracefulReload ecosystem-smtp.json --env production --update-env"
}
}
}