From 1314e98e3b244f38e45ad95c4ef690789d2a4840 Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Wed, 3 Jul 2024 23:34:30 -0400 Subject: [PATCH] . --- ESP32_Temperture-Node/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ESP32_Temperture-Node/README.md b/ESP32_Temperture-Node/README.md index 116ccf27b..fb4002928 100644 --- a/ESP32_Temperture-Node/README.md +++ b/ESP32_Temperture-Node/README.md @@ -5,14 +5,17 @@ ## MQTT Mosquito Broker

Mosquitto broker can be easily deployed using Docker compose file shown below. In the example below, MQTT broker listens to the ports 1883 (unecrypted) and 8883 (encrypted SSL).

+> [!NOTE] +> Compose file below declares two volumes (config and data) to persistantly store Mosquitto configuration and data. + ```text version: "3.8" services: mosquitto-esp32: image: eclipse-mosquitto:latest volumes: - - /srv/dev-disk-by-uuid-12424c21-2056-486b-b61f-0fea49742808/docker/volumes/mosquitto/config:/mosquitto/config - - /srv/dev-disk-by-uuid-12424c21-2056-486b-b61f-0fea49742808/docker/volumes/mosquitto/data:/mosquitto/data + - /srv/dev-disk-by-label/docker/volumes/mosquitto/config:/mosquitto/config + - /srv/dev-disk-by-label/docker/volumes/mosquitto/data:/mosquitto/data networks: - IoT ports: