Add: IOT using Mosquitto // Node red // InfluxDB // Grafana
File and folder permissions are a bitch. Also, will only leave access to grafana and remove the rest to be accessed using ssh tunnels
This commit is contained in:
1 parent
ae6fde8113
commit
774b69be38
6 files changed
+350
No files matched your search
@@ -0,0 +1,40 @@
|
||||
# Use a persistence location outside the container
|
||||
persistence true
|
||||
persistence_location /mosquitto/data
|
||||
|
||||
# Set the maximum number of clients and messages
|
||||
max_connections 1000
|
||||
max_inflight_messages 1000
|
||||
|
||||
# Set the maximum size of incoming messages
|
||||
max_queued_messages 10000
|
||||
max_packet_size 1000
|
||||
|
||||
# Enable MQTT logging
|
||||
log_dest file /mosquitto/log/mosquitto.log
|
||||
log_type error
|
||||
log_type warning
|
||||
log_type notice
|
||||
log_type information
|
||||
|
||||
# Disable anonymous access
|
||||
allow_anonymous false
|
||||
|
||||
# Set a username and password for client authentication
|
||||
password_file /mosquitto/config/passwd
|
||||
|
||||
# Uncomment the following lines if you want to enable TLS/SSL encryption
|
||||
# cafile /mosquitto/config/ca.crt
|
||||
# certfile /mosquitto/config/server.crt
|
||||
# keyfile /mosquitto/config/server.key
|
||||
# require_certificate true
|
||||
|
||||
# Uncomment the following lines if you want to enable WebSocket support
|
||||
listener 9001
|
||||
protocol websockets
|
||||
|
||||
# Uncomment the following lines if you want to enable MQTT over TLS/SSL
|
||||
# listener 8883
|
||||
# cafile /mosquitto/config/ca.crt
|
||||
# certfile /mosquitto/config/server.crt
|
||||
# keyfile /mosquitto/config/server.key
|
||||
Reference in new issue
Block a user