Skip to content

Commit

Permalink
Expose MQTT port in Docker Compose file
Browse files Browse the repository at this point in the history
- 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. 🚀
  • Loading branch information
horta committed Nov 4, 2024
1 parent c3bf840 commit 2b20171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compose/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ services:
command: ["server", "/data"]
mqtt:
image: library/eclipse-mosquitto
ports: ["1883:1883"]
command: ["mosquitto", "-c", "/mosquitto-no-auth.conf"]

0 comments on commit 2b20171

Please sign in to comment.