Skip to content

Commit

Permalink
Merge pull request gcgarner#4 from SensorsIot/pr/130
Browse files Browse the repository at this point in the history
Mosquitto changes update to security
  • Loading branch information
Willem-Dekker committed Apr 20, 2020
2 parents a3078f2 + 89f4647 commit d86a5cd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .templates/mosquitto/filter.acl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
user admin
topic read #
topic write #

pattern read #
pattern write #
6 changes: 6 additions & 0 deletions .templates/mosquitto/mosquitto.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log

#Uncomment to enable passwords
#password_file /mosquitto/config/pwfile
#allow_anonymous false

#Uncomment to enable filters
#acl_file /mosquitto/config/filter.acl
1 change: 1 addition & 0 deletions .templates/mosquitto/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
- ./volumes/mosquitto/data:/mosquitto/data
- ./volumes/mosquitto/log:/mosquitto/log
- ./services/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
- ./services/mosquitto/filter.acl:/mosquitto/config/filter.acl

0 comments on commit d86a5cd

Please sign in to comment.