Skip to content

Commit

Permalink
Update version to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
antst committed Nov 13, 2024
1 parent c0b8e67 commit 9278e29
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions anonymous-mosquitto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

- Initial version, fork of official add-on v6.4.1.

## 1.0.4
-
## 1.0.5
- Change in handling. Now it is a either only anonymous or onlu auth.
2 changes: 1 addition & 1 deletion anonymous-mosquitto/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.4
version: 1.0.5
name: Anonymous Mosquitto broker
slug: anonymous_mosquitto
description: An Open Source MQTT broker. Clone of official addon, but with enabled back option for anonymous mode.
Expand Down
8 changes: 5 additions & 3 deletions anonymous-mosquitto/rootfs/usr/share/tempio/mosquitto.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ persistence_location /data/
# is busy and cannot read messages fast enough
max_queued_messages 8192

{{ if .anonymous }}
# Anonimous authentitication

allow_anonymous {{ .anonymous }}

allow_anonymous true
{{ else }}
allow_anonymous false
# Authentication plugin
auth_plugin /usr/share/mosquitto/go-auth.so
auth_opt_backends files,http
Expand All @@ -44,6 +45,7 @@ auth_opt_http_port 80
auth_opt_http_getuser_uri /authentication
auth_opt_http_superuser_uri /superuser
auth_opt_http_aclcheck_uri /acl
{{ end }}

{{ if .customize }}
include_dir /share/{{ .customize_folder }}
Expand Down

0 comments on commit 9278e29

Please sign in to comment.