-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv
More file actions
43 lines (35 loc) · 1.02 KB
/
env
File metadata and controls
43 lines (35 loc) · 1.02 KB
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
# Broker Port
BrokerNetPort = 1883
BrokerTlsPort = 8883
# Broker Certification
KeyFile = ""
CertFile = ""
# MongoDB Configuration
# MongoDB Address
MongoDBAddress= "mongodb://127.0.0.1/Mini_Twins"
# MongoDB Auth user
MongoDBUser = ""
# MongoDB Auth Password
MongoDBPassword = ""
# Mongoose Configuration
MG_autoIndex = false
MG_minPoolSize = 100
MG_maxPoolSize = 1000
MG_socketTimeoutMS = 30000
MG_family = 4
MG_serverSelectionTimeoutMS = 5000
MG_heartbeatFrequencyMS = 30000
# MongoDB Persistence for Aedes TTL packets (Number of seconds)
TTLPackets = 300
TTLSubscriptions = 300
# AEDES Configuration
# Concurrency: Number of Concurrent connections
# MqEmitter and Persistence: Used for Aedes Server clusters
# If Enable MqEmitter and Persistence, the message will be store in MongoDB by default Persistence + Emitter standard.
# Documents are stored in /pubsub collection
concurrency = 10000
UseMqEmitter = false
UsePersistence = false
# SOCKET.IO Configuration
socketPost = 33333
socketCORSAddress = "http://shellcollector.ml:3000"