setup-mosquitto-with-docker

(β˜… 390)

How to setup Mosquitto MQTT Broker using docker with Authentication and Websocket support.

  • caddy-mqtt.yml
  • Caddyfile
  • install-docker.sh
  • LICENSE
  • main.cpp
  • mqttx-client.png
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/sukesh-ak/setup-mosquitto-with-docker

Downloads the entire project code from GitHub to your computer.

cd setup-mosquitto-with-docker

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • APT (Debian/Ubuntu 계열) Built into Debian/Ubuntu-based Linux distributions.
sudo apt install docker-compose

Installs directly from the APT package repository (Debian/Ubuntu-based).

sudo apt install mosquitto-clients

Installs directly from the APT package repository (Debian/Ubuntu-based).

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

// repository documentation