From 2b20171e4ee2a4bcc05b7ed34dae4d450f5927dc Mon Sep 17 00:00:00 2001 From: Danilo Horta Date: Mon, 4 Nov 2024 12:00:03 +0000 Subject: [PATCH] Expose MQTT port in Docker Compose file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated `compose/compose.yml` to expose port 1883 for the MQTT service. By exposing port 1883, the service is accessible externally, enabling MQTT clients to communicate efficiently with the broker. This change enhances the configurability and usability of the MQTT setup. 🚀 --- compose/compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/compose.yml b/compose/compose.yml index 32d90ea..6ebcaba 100644 --- a/compose/compose.yml +++ b/compose/compose.yml @@ -37,4 +37,5 @@ services: command: ["server", "/data"] mqtt: image: library/eclipse-mosquitto + ports: ["1883:1883"] command: ["mosquitto", "-c", "/mosquitto-no-auth.conf"]