chore: remove mosquitto useless folder
This commit is contained in:
parent
172baae029
commit
fee4cf4690
|
|
@ -1,17 +0,0 @@
|
||||||
per_listener_settings true
|
|
||||||
|
|
||||||
listener 1883
|
|
||||||
allow_anonymous false
|
|
||||||
persistence true
|
|
||||||
connection_messages true
|
|
||||||
log_dest file /mosquitto/log/mosquitto.log
|
|
||||||
persistence_location /mosquitto/data
|
|
||||||
password_file /mosquitto/passwd/passwd.pwd
|
|
||||||
acl_file /mosquitto/acl/acl.acl
|
|
||||||
|
|
||||||
# listener 8883
|
|
||||||
# cafile /mosquitto/creds/ca.crt
|
|
||||||
# certfile /mosquitto/creds/server.crt
|
|
||||||
# keyfile /mosquitto/creds/server.key
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Inside this folder you must save mosquitto ssl certificates. Those are sensitive information! do not share. You can follow this guide to generate necessary certificates: https://mosquitto.org/man/mosquitto-tls-7.html or that one from Mr. Steve which i found more useful and complete http://www.steves-internet-guide.com/mosquitto-tls/. It is important to use broker with ssl to encrypt messages and to avoid someone bad intentioned to read messages exchange between the server and IoTs.
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
services:
|
|
||||||
broker:
|
|
||||||
image: eclipse-mosquitto
|
|
||||||
container_name: mosquittto_broker
|
|
||||||
network_mode: host
|
|
||||||
user: 1000:1000
|
|
||||||
volumes:
|
|
||||||
- ./config:/mosquitto/config
|
|
||||||
- ./data:/mosquitto/data
|
|
||||||
- ./log:/mosquitto/log
|
|
||||||
- ./creds:/mosquitto/creds
|
|
||||||
- ./passwd:/mosquitto/passwd
|
|
||||||
- ./acl:/mosquitto/acl
|
|
||||||
ports:
|
|
||||||
- 8883:8883
|
|
||||||
- 1883:1883
|
|
||||||
Loading…
Reference in New Issue
Block a user