Skip to content

How enable the MQTT-Support with Docker-Compose #1017

Answered by lbroudoux
grojas123 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

To enable MQTT from docker-compose, you'll need to tweak the config/application.properties file under the docker-compose file. This file contains properties coming from https://github.com/microcks/microcks/blob/master/minions/async/src/main/resources/application.properties that may be prefixed with %docker-compose that is the name of the profile used for launching from docker-compose.

So basically, you'll have to uncomment or add the following block with correct values:

%docker-compose.mqtt.server=my-mqtt-server:1883
%docker-compose.mqtt.username=microcks
%docker-compose.mqtt.password=microcks

You'll also need to add MQTT to the list of supported protocols using this property line:

#

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@grojas123
Comment options

Answer selected by grojas123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment