47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
|
---
|
||
|
|
||
|
mosquitto_packages:
|
||
|
- mosquitto
|
||
|
- mosquitto-clients
|
||
|
|
||
|
mosquitto_listeners:
|
||
|
# Listeners for Mosquitto MQTT Broker
|
||
|
- name: "default"
|
||
|
listener: "1883 localhost"
|
||
|
protocol: "mqtt"
|
||
|
use_username_as_clientid: "true"
|
||
|
allow_zero_length_clientid: "true"
|
||
|
allow_anonymous: "false"
|
||
|
users: []
|
||
|
# Users for Mosquitto MQTT Broker
|
||
|
# Type: Arrays of Objects with following parameters defined:
|
||
|
# - username: <string>
|
||
|
# password: <string>
|
||
|
# acl: <Array> of Objects as follows:
|
||
|
# - permissions: <string> Acceptable Value: either `read`, `readwrite`, `write`, `deny`
|
||
|
# - topic: <string> Acceptable Value: your/mqtt/topic (wildcards `+`, and `*` allowed)
|
||
|
auth_anonymous: []
|
||
|
# Topics which are accessable with anonymous access
|
||
|
# Example
|
||
|
# - "topic read topic_name"
|
||
|
auth_patterns: []
|
||
|
# %c to match the client id of the client
|
||
|
# %u to match the username of the client
|
||
|
# Example
|
||
|
# - "pattern write $SYS/broker/connection/%c/state"
|
||
|
|
||
|
mosquitto_bridges: []
|
||
|
# Bridges for Mosquitto MQTT Broker
|
||
|
# Type: Arrays of Objects with following parameters defined:
|
||
|
# - connection: <string>
|
||
|
# address: <string>
|
||
|
# bridge_insecure: <boolean>
|
||
|
# bridge_capath: <string>
|
||
|
# remote_password: <string>
|
||
|
# remote_username: <string>
|
||
|
# remote_clientid: <string>
|
||
|
# try_private: <boolean>
|
||
|
# topics:
|
||
|
# - topic: # in 0 down/ to-level/02/line/
|
||
|
# - topic: # out 0 up/ from-level/02/line/
|