Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
MESH_PROVISION_MQTT=127.0.0.1:${port:1883}
|
||||
MESH_PROVISION_ADMIN_USER=mesh-admin
|
||||
MESH_PROVISION_PASSWORD_FILE=${dir:mesh-state}/admin
|
||||
MESH_DYNSEC_FILE=${dir:data}/dynamic-security.json
|
||||
MESH_MQTT_CTRL_IMAGE=eclipse-mosquitto@sha256:38c0da4f2ef84284d47b3b3eeea1cb3bdeabe81ee10caf0cd5c5ff61ee3ea408
|
||||
MESH_MQTT_CTRL_CONTAINER=mosquitto
|
||||
MESH_MQTT_ADMIN_APPLIED_FILE=${dir:state}/admin.applied
|
||||
@@ -0,0 +1,20 @@
|
||||
persistence true
|
||||
persistence_location /mosquitto/data
|
||||
|
||||
log_dest stdout
|
||||
log_type warning
|
||||
log_type error
|
||||
log_type notice
|
||||
|
||||
# Every client authenticates; identities and their per-topic ACLs are managed
|
||||
# at runtime by the dynamic security plugin, whose store the plugin itself owns.
|
||||
allow_anonymous false
|
||||
plugin /usr/lib/mosquitto_dynamic_security.so
|
||||
plugin_opt_config_file /mosquitto/data/dynamic-security.json
|
||||
|
||||
# MQTT listener
|
||||
listener 1883
|
||||
|
||||
# MQTT-over-WebSockets listener
|
||||
listener 8081
|
||||
protocol websockets
|
||||
Reference in New Issue
Block a user