A custom mosquitto docker image with configuration from environment variables
298
A custom docker image for eclispe mosquitto, based on the docker official image.
an opinionated default mosquitto.conf
set mosquitto.conf through environment variables
To set a parameter, prefix it with MSQT_ and pass it as uppercase environment variable when running a container. For example, MSQT_MAX_INFLIGHT_MESSAGES=100 sets max_inflight_messages to 100.
docker run --rm --name mqtt -p 1883:1883 -e MSQT_ALLOW_ANONYMOUS=false -e MSQT_AUTO_ID_PREFIX=foo loivis/mosquitto:2.0.15
Content type
Image
Digest
sha256:7318fce59…
Size
5.4 MB
Last updated
almost 4 years ago
docker pull loivis/mosquitto