MQTT broker with latest go-auth plugin for neOCampus infrastructure
969
We provides a docker with a MQTT broker featuring:
[Oct.21] switching to latest mosquitto-1.6 along with newer mosquitto-go-auth plugin
[Sep.17] MQTT broker now check for clientID containing special chars like + or # or /
We set a special version 'mqttocampus:dev' whose such extra ACL check is disabled.
Various alternatives to generate the docker image (as root)
cd /neocampus/mqttocampus
docker-compose --verbose build --force-rm --no-cache
docker-compose --verbose build --force-rm --no-cache --build-arg MQTT_VER="2.0.12" --build-arg AUTH_PLUGIN_VER="1.8.2"
docker build --no-cache --force-rm -t mqttocampus:v2 .
docker build --no-cache --force-rm -t mqttocampus:v2 --build-arg MQTT_VER="2.0.12" --build-arg AUTH_PLUGIN_VER="1.8.2" .
various alternatives to launch the container
SSL_NODE="neocampus.univ-tlse3.fr" PG_MQTT_PASS='coucou' docker-compose config # check config
SSL_NODE="neocampus.univ-tlse3.fr" PG_MQTT_PASS='coucou' docker-compose --verbose up -d
MQTT_PORT=1883 DEBUG=1 SSL_NODE="neocampus.univ-tlse3.fr" PG_MQTT_PASS='coucou' docker-compose run --service-ports app bash # launch a shell in service 'app' with ports mapped
to stop/restart a service
docker-compose down
docker-compose restart [service_name]
Content type
Image
Digest
sha256:b4b738df3…
Size
424.8 MB
Last updated
over 2 years ago
docker pull neocampus/mqttocampus