-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.js
77 lines (66 loc) · 1.06 KB
/
index.js
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
module.exports = {
connection: 'mongodb://localhost:27017/heartbeatdb',
interval: 10000,
logentries: {
token: null
},
monitor: {
http: [
{
url: 'https://likeastore.com'
},
{
url: 'https://stage.likeastore.com'
}
],
json: [
{
url: 'https://app.likeastore.com/api/monitor',
response: {
"app":"app.likeastore.com",
"env":"production",
"version":"0.0.52",
"apiUrl":"/api"
}
}
],
mongo: [
{
connection: 'mongodb://localhost:27017/likeastoredb',
collections: ['users'],
query: function (db, callback) {
db.users.findOne({email: '[email protected]'}, callback);
}
}
],
resolve: [
{
name: 'google.com'
}
],
ping: [
{
ip: '37.139.9.95'
}
]
},
// notification options
notify: {
email: {
from: '[email protected]',
to: ['[email protected]']
},
sms: {
to: ['+3805551211', '+3805551212']
}
},
transport: {
mandrill: {
token: 'fake-token'
},
twilio: {
sid: 'fake-sid',
token: 'fake-token'
}
}
};