forked from itead/IoTgo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js.sample
31 lines (31 loc) · 1.12 KB
/
config.js.sample
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
module.exports = {
host: 'iotgo.iteadstudio.com', // Hostname of IoTgo platform
db: {
uri: 'mongodb://localhost/iotgo', // MongoDB database address
options: {
user: 'iotgo', // MongoDB database username
pass: 'iotgo' // MongoDB database password
}
},
jwt: {
secret: 'jwt_secret' // Shared secret to encrypt JSON Web Token
},
admin:{
'[email protected]': 'password' // Administrator account of IoTgo platform
},
page: {
limit: 50, // Default query page limit
sort: -1 // Default query sort order
},
recaptcha: {
secret: '', // Google reCAPTCHA serect
url: 'https://www.google.com/recaptcha/api/siteverify'
},
pendingRequestTimeout: 3000,
mailgun: {
api_key:'', //Mailgun API Key
domain:'', //Mailgun Domain Name
from:'' //Mailgun Default SMTP Login Email
},
upgradeUrl:"http://v.itead.cc/api/upgrade"
};