Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natthasath/docker-mosquitto
Mosquitto is an open-source MQTT broker that facilitates communication between IoT devices, supports security features and runs on various platforms.
https://github.com/natthasath/docker-mosquitto
docker-compose message-queue mosquitto mqtt
Last synced: 22 days ago
JSON representation
Mosquitto is an open-source MQTT broker that facilitates communication between IoT devices, supports security features and runs on various platforms.
- Host: GitHub
- URL: https://github.com/natthasath/docker-mosquitto
- Owner: natthasath
- License: mit
- Created: 2023-01-24T09:26:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T09:00:04.000Z (8 months ago)
- Last Synced: 2024-11-11T06:14:59.044Z (3 months ago)
- Topics: docker-compose, message-queue, mosquitto, mqtt
- Language: YAML
- Homepage: https://github.com/vvatelot/mosquitto-docker-compose
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ๐ Docker Mosquitto
Mosquitto is an open-source MQTT broker that facilitates communication between IoT devices, supports security features and runs on various platforms.
![version](https://img.shields.io/badge/version-1.0-blue)
![rating](https://img.shields.io/badge/rating-โ โ โ โ โ -yellow)
![uptime](https://img.shields.io/badge/uptime-100%25-brightgreen)### ๐ MQTT
- username : `admin` password : `admin`
```shell
mqtt://localhost:1883/
mqtts://localhost:9001/
```### ๐ Run
```shell
docker-compose up -d
```### ๐ Publisher
```shell
mosquitto_sub -h localhost -t "sensor/temperature"
```### ๐ Subscriber
```shell
mosquitto_pub -h localhost -t sensor/temperature -m 23
```### ๐งพ Create User
```shell
docker-compose exec mosquitto mosquitto_passwd -b /mosquitto/config/password.txt username password
```### ๐งพ Delete User
```shell
docker-compose exec mosquitto mosquitto_passwd -D /mosquitto/config/password.txt username
```