diff --git a/docs/portainer-stacks/MQTT-Mosquitto.md b/docs/portainer-stacks/MQTT-Mosquitto.md index dff6ffe..f47ffc3 100644 --- a/docs/portainer-stacks/MQTT-Mosquitto.md +++ b/docs/portainer-stacks/MQTT-Mosquitto.md @@ -40,8 +40,14 @@ password_file /mosquitto/config/passwd ``` Create empty file `/mosquitto/config/passwd` -And from the terminal create user sending: -```docker exec -it mqtt usr/bin/mosquitto_passwd -c /mosquitto/config/passwd USERNAME``` +And from the terminal create user sending: + +``` +docker exec -it mqtt usr/bin/mosquitto_passwd -c /mosquitto/config/passwd USERNAME +``` And if you want to add more users use: -```docker exec -it mqtt usr/bin/mosquitto_passwd -b /mosquitto/config/passwd NEW_USERNAME PASSWORD``` + +``` +docker exec -it mqtt usr/bin/mosquitto_passwd -b /mosquitto/config/passwd NEW_USERNAME PASSWORD +```