How to use this image
Description
This image is a copy of docker image eclipse-mosquitto:1.5.11 ( https://hub.docker.com/_/eclipse-mosquitto) with integrated custom mosquitto.conf file located in /mosquitto/config/mosquitto.conf . For additional information please see https://hub.docker.com/_/eclipse-mosquitto
Customized options
Mandatory options
- port 1883 - default listener port
- listener 1884 enabling listener at 1884
- listener 15675 enabling listener at 15675
Recommended options
- user mosquitto - Drop root priviledges
- max_inflight_messages 200 - increase infighting QoS messages per client as few QoS1 could be sent at once.
- max_queued_messages 1000 - increase the maximum number of QoS 1 and 2 messages to hold in a queue per client above those that are currently in-flight.
- allow_zero_length_clientid true - allow client ID to be zero lenght
- persistent_client_expiration 14d - Auto protection from badly designed clients