Docs
News
Merch/Store
Change the chart’s config to disable allow_anonymous by setting authentication to enabled.
allow_anonymous
enabled
auth: # -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config. # highlight-next-line enabled: true
Open the Mosquitto container shell and execute the following commands, one by one, in order:
cd /mosquitto/configincmosquitto_passwd -c passwordfile usernameecho "password_file /mosquitto/configinc/passwordfile" > passwordconfig.conf