Skip to content

Commit

Permalink
extend mosquitto config
Browse files Browse the repository at this point in the history
  • Loading branch information
sclausen committed Jun 13, 2021
1 parent 7a5a215 commit f6f115b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mosquitto.sh
Original file line number Diff line number Diff line change
@@ -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
5 changes: 2 additions & 3 deletions mosquitto/config/mosquitto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f6f115b

Please sign in to comment.