mbopm/mosquito

By mbopm

Updated 2 months ago

Easy way to get a local mosquito server up and running.

Image
0

29

Mosquito

Easy way to get a local mosquito server up and running. It is configured with default credentials and a healthcheck.

Default credentials:

  • MOSQUITTO_USERNAME: mqtt_user
  • MOSQUITTO_PASSWORD: mqtt_pass

You can override those on container startup by setting the shown environment variables.

docker compose

services:
  mosquito:
    image: mbopm/mosquito:2
    ports:
      - "127.0.0.1:1883:1883"
    volumes:
      - mosquito_data:/mosquitto/data:rw

volumes:
  mosquito_data:

Docker Pull Command

docker pull mbopm/mosquito