mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 22:24:26 +00:00
.
This commit is contained in:
@@ -1,3 +1,26 @@
|
|||||||
# ESP32 MQTT SSL Temperature Node
|
# ESP32 MQTT SSL Temperature Node
|
||||||
|
|
||||||
<!-- BMP280 comes in 3.3V and 5V versions. 5V version is I2C and has 4 terminals; 3.3V version is IPS and has 6 terminals AHT10 Arduino sensor -->
|
<!-- BMP280 comes in 3.3V and 5V versions. 5V version is I2C and has 4 terminals; 3.3V version is IPS and has 6 terminals AHT10 Arduino sensor -->
|
||||||
|
|
||||||
|
## MQTT Mosquito Broker
|
||||||
|
<p>Below is an example of Docker compose file to run Mosquitto broker</p>
|
||||||
|
|
||||||
|
```text
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
mosquitto-esp32:
|
||||||
|
image: eclipse-mosquitto:latest
|
||||||
|
volumes:
|
||||||
|
- /srv/dev-disk-by-uuid-12424c21-2056-486b-b61f-0fea49742808/docker/volumes/mosquitto/config:/mosquitto/config
|
||||||
|
- /srv/dev-disk-by-uuid-12424c21-2056-486b-b61f-0fea49742808/docker/volumes/mosquitto/data:/mosquitto/data
|
||||||
|
networks:
|
||||||
|
- IoT
|
||||||
|
ports:
|
||||||
|
- 1883:1883
|
||||||
|
- 8883:8883
|
||||||
|
- 9001:9001
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
IoT:
|
||||||
|
external: true
|
||||||
|
```
|
Reference in New Issue
Block a user