1 | module.exports = {
|
2 | server:{
|
3 | port:10021,
|
4 | host:'localhost',
|
5 | refresh:2
|
6 |
|
7 | },
|
8 | startup:{
|
9 | path:'./pm2_startup.json'
|
10 | },
|
11 | auth:
|
12 | {
|
13 | required:true,
|
14 | file:'./pm2_authfile'
|
15 | },
|
16 | notification:
|
17 | {
|
18 | email:{
|
19 | active:false,
|
20 | limits:{
|
21 |
|
22 | memory:50,
|
23 | cpu:50
|
24 |
|
25 | },
|
26 |
|
27 | smtp:{
|
28 | host: 'smtp.yourserver.com',
|
29 | port: 587,
|
30 | secure:false,
|
31 | ignoreTLS:true,
|
32 | auth: {
|
33 | user: 'username@email.com',
|
34 | pass: 'password'
|
35 |
|
36 | }
|
37 | },
|
38 | emailTo:'recipient',
|
39 | emailFrom:'no-reply@email.com'
|
40 | },
|
41 | sms:{
|
42 |
|
43 | active:false,
|
44 | tels:[
|
45 | {"gsm":"telfone"},
|
46 | {gsm:"telefone2"}
|
47 | ],
|
48 | limits:{
|
49 | memory:80,
|
50 | cpu:80
|
51 | },
|
52 | auth:{
|
53 | user:'username',
|
54 | pass:'password'
|
55 | }
|
56 |
|
57 |
|
58 | },
|
59 | frequency:60
|
60 | }
|
61 | };
|