craftbeerpi4-pione/.devcontainer/createMqttUser.sh
2022-03-31 08:04:42 +02:00

5 lines
No EOL
204 B
Bash

#!/bin/bash
USER=craftbeerpi
PASSWORD=craftbeerpi
docker run -it --rm -v "$(pwd)/mosquitto/config/mosquitto.passwd:/opt/passwdfile" eclipse-mosquitto:2 mosquitto_passwd -b /opt/passwdfile $USER $PASSWORD