-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeshbluConfig.js
35 lines (35 loc) · 909 Bytes
/
meshbluConfig.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
module.exports = {
port: 3000,
log: true,
// MongoDB has been installed
mongo: {
databaseUrl: "mongodb://localhost:27017/meshblu"
},
// Redis has been installed
redis: {
host: "localhost",
port: "6379"
},
// this skynet cloud instance / object uuid - each one should be unique - this should be auto generated on very first boot
uuid: '',
token: '',
// broadcastActivity: false,
// if you want to resolve message up to another skynet server:
// this should be able to be set through some interface / console of the appliance
parentConnection: {
uuid: '',
token: '',
server: '',
port: 80
},
coap: {
port: 5683,
host: "localhost"
},
//these settings are for the node mqtt server, and mqtt client
mqtt: {
databaseUrl: "mongodb://localhost:27017/mqtt",
port: 1883,
skynetPass: "reallylongstringsameasmeshbluserver"
}
};