allow anonymous access
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2021-10-01 16:17:04 +02:00
parent d8f7d9dc85
commit 7eebac8e3c
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,5 +1,8 @@
FROM alpine:3.14 FROM alpine:3.14
RUN \ RUN \
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \ apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf && \
echo "listener 1883" >>/etc/mosquitto/mosquitto.conf && \
echo "allow_anonymous true" >>/etc/mosquitto/mosquitto.conf
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"] ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]