1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

update flashmq

This commit is contained in:
kev 2024-07-09 10:49:01 +08:00
parent e59da26e10
commit 5b3018ca9b
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,5 @@
user admin
topic readwrite #
user guest
topic read test/#

View File

@ -1,8 +1,14 @@
# https://www.flashmq.org/documentation/config-file/
#
# - https://www.flashmq.org/documentation/config-file/
# - https://mosquitto.org/man/mosquitto-conf-5.html
#
log_file /var/log/flashmq/flashmq.log
storage_dir /var/lib/flashmq
#mosquitto_password_file /etc/flashmq/password_file
#mosquitto_acl_file /etc/flashmq/acl_file
listen {
protocol mqtt
inet_protocol ip4

View File

@ -0,0 +1,5 @@
# mosquitto_passwd -b password_file admin admin
admin:$7$101$yQfAUAV+EF5tPGU2$RsXDGYVkMmrLLlaBywBKWfk6QN0yvoYtnJAGUNzWkSa25pj8e3d+zMJg5SL1Slv31ij3xO8qoS1DY+Lw/3JH4Q==
# mosquitto_passwd -b password_file guest guest
guest:$7$101$abZWwRyjhx7OmPLs$VZKf6T0t1UHFRM46bHqAyA8EmKkVvTKOG+knrLftFg7FQzopNMKtolsHueOziVRQT/F+ZndPNaxA3S5JwdjAZw==