Created
June 14, 2021 14:53
-
-
Save alanb128/1dca32d2796f772e911b4c46d05a16a9 to your computer and use it in GitHub Desktop.
Mosquitto 2 Broker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM arm32v6/eclipse-mosquitto | |
# Override v2 default behavior and allow remote access | |
# also allow anonymous connections | |
RUN \ | |
sed -i 's/#listener/listener 1883/' /mosquitto/config/mosquitto.conf && \ | |
sed -i 's/#allow_anonymous false/allow_anonymous true/' /mosquitto/config/mosquitto.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment