From f6f115b4a84fbbacfb1cf572df987531d57e5b90 Mon Sep 17 00:00:00 2001 From: Sebastian Clausen Date: Sun, 13 Jun 2021 14:42:01 +0200 Subject: [PATCH] extend mosquitto config --- mosquitto.sh | 2 +- mosquitto/config/mosquitto.conf | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mosquitto.sh b/mosquitto.sh index df70e1b..4732ffd 100755 --- a/mosquitto.sh +++ b/mosquitto.sh @@ -1,2 +1,2 @@ #/bin/sh -docker run -it --name mosquitto --rm -p 9001:9001 -v $(pwd)/mosquitto:/mosquitto/ eclipse-mosquitto +docker run -it --name mosquitto --rm -p 9001:9001 -p 1883:1883 -v $(pwd)/mosquitto:/mosquitto/ eclipse-mosquitto diff --git a/mosquitto/config/mosquitto.conf b/mosquitto/config/mosquitto.conf index 37009bc..aafc47d 100644 --- a/mosquitto/config/mosquitto.conf +++ b/mosquitto/config/mosquitto.conf @@ -2,6 +2,5 @@ allow_anonymous true listener 9001 protocol websockets -persistence true -persistence_location /mosquitto/data/ -log_dest file /mosquitto/log/mosquitto.log +allow_anonymous true +listener 1883