3 minute read
Here is a quick tutorial on how to start up a basic configuration / a basic docker-compose stack, so that you can develop.
Here is a quick tutorial on how to start up a basic configuration / a basic docker-compose stack, so that you can develop.
sudo docker-compose -f ./deployment/mqtt-bridge/docker-compose.yaml up -d --build
This chapter explains all used environment variables.
Description: the certificate name / client id
Type: string
Possible values: all
Example value: 2021-0156
Description: the URL to the broker. Can be prepended either with ssl:// or mqtt:// or needs to specify the port afterwards with :1883
Type: string
Possible values: all
Example value: ssl://mqtt.app.industrial-analytics.net
Description: the remote topic that should be subscribed. The bridge will automatically append a /# to the string mentioned here
Type: string
Possible values: all
Example value: ia/ia
Description: the remote topic prefix where messages from the remote broker should be send to.
Type: string
Possible values: all
Example value: ia/ia
Description: should SSL be enabled and certificates be used for connection?
Type: bool
Possible values: true or false
Example value: true
Description: the certificate name / client id
Type: string
Possible values: all
Example value: 2021-0156
Description: the URL to the broker. Can be prepended either with ssl:// or mqtt:// or needs to specify the port afterwards with :1883
Type: string
Possible values: all
Example value: ssl://mqtt.app.industrial-analytics.net
Description: the remote topic that should be subscribed. The bridge will automatically append a /# to the string mentioned here
Type: string
Possible values: all
Example value: ia/ia
Description: the remote topic prefix where messages from the remote broker should be send to.
Type: string
Possible values: all
Example value: ia/ia
Description: should SSL be enabled and certificates be used for connection?
Type: bool
Possible values: true or false
Example value: true
Description: DO NOT SET TO FALSE OR THIS MIGHT CAUSE AN ENDLESS LOOP! NEEDS TO BE FIXED BY SWITCHING TO MQTTV5 AND USING NO_LOCAL OPTION WHILE SUBSCRIBING. If true it sends the messages only from local broker to remote broker (not the other way around)
Type: bool
Possible values: true or false
Example value: true
The bridge will append /# to LOCAL_SUB_TOPIC and subscribe to it. All messages will then be send to the remote broker. The topic on the remote broker is defined by: