Skip to content

Commit

Permalink
✨ feat(mosquitto v2): enables listener on 1883 (#5)
Browse files Browse the repository at this point in the history
Also freeze image to eclipse-mosquitto:2

fixes #1

Co-authored-by: Vincent Vatelot <[email protected]>
  • Loading branch information
martinbra and vvatelot authored Oct 13, 2022
1 parent 8e8ae70 commit 4ea8c45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions config/mosquitto.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
listener 1883
persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log

## Authentication ##
# allow_anonymous false
# password_file /mosquitto/config/password.txt
# By default, Mosquitto >=2.0 allows only authenticated connections. Change to true to enable anonymous connections.
allow_anonymous false
# password_file /mosquitto/config/password.txt
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
mosquitto:
image: eclipse-mosquitto:1.6
image: eclipse-mosquitto:2
volumes:
- ./:/mosquitto/:rw
ports:
Expand Down

0 comments on commit 4ea8c45

Please sign in to comment.