visquitto: added discovery topic
build-and-push / check-branch (push) Successful in 11s
build-and-push / prepare (push) Successful in 9s
build-and-push / build (amd64, linux/amd64) (push) Successful in 1m22s

This commit is contained in:
2026-11-04 16:19:15 +03:30
parent 209b697a39
commit 4611c14a81
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: Visquitto
version: "0.6.0"
version: "0.7.0"
slug: visquitto
description: Second private Mosquitto broker for bitopa nodes
url: "https://gitea.viratak.com/bitopa/virarepo/src/branch/main/visquitto"
+7 -2
View File
@@ -102,8 +102,13 @@ EOF
# TLS ACL
cat > "$CONFIG/acl_tls" <<EOF
# Default rule for every certificate client. %u is the certificate CN.
pattern readwrite clients/%u/#
pattern write cert/enroll/%u/renew
# data exchange topic
pattern readwrite clients/%u/#
# discovery topic
pattern write vmqtt/sensor/%u/#
# connection topics
pattern write cert/enroll/%u/renew
pattern write cert/enroll/%u/renew-begin
pattern read cert/enroll/%u/challenge
EOF