diff --git a/backend/services/mosquitto/config/mosquitto.conf b/backend/services/mosquitto/config/mosquitto.conf deleted file mode 100755 index e63b441..0000000 --- a/backend/services/mosquitto/config/mosquitto.conf +++ /dev/null @@ -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 - - diff --git a/backend/services/mosquitto/creds/doc.md b/backend/services/mosquitto/creds/doc.md deleted file mode 100644 index 2aebd93..0000000 --- a/backend/services/mosquitto/creds/doc.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/backend/services/mosquitto/docker-compose.yml b/backend/services/mosquitto/docker-compose.yml deleted file mode 100755 index 664921a..0000000 --- a/backend/services/mosquitto/docker-compose.yml +++ /dev/null @@ -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 \ No newline at end of file