Skip to content

Commit 0e07ec4

Browse files
committed
chore(all): resovle mqtt to work wth version 2.0.2 and newer
[MQTT version 2.0.2 and higher require a config file to allow for external connections](eclipse-mosquitto/mosquitto#2079). This adds that config file in.
1 parent 07ca5a8 commit 0e07ec4

File tree

3 files changed

+985
-136
lines changed

3 files changed

+985
-136
lines changed

docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ services:
55
container_name: mqtt
66
ports:
77
- '1883:1883'
8+
volumes:
9+
- ./mosquitto:/mosquitto/
810
rabbitmq:
911
image: rabbitmq
1012
container_name: rabbit

mosquitto/config/mosquitto.conf

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
listener 1883
2+
allow_anonymous true

0 commit comments

Comments
 (0)