added mqtt broker to the stack

This commit is contained in:
Dobromir Popov
2021-08-24 15:45:12 +03:00
parent 30dc6eeb52
commit f9680a73ce

View File

@@ -21,4 +21,12 @@ services:
MYSQL_DATABASE: iot
MYSQL_ROOT_PASSWORD: mitko2021
MYSQL_USER: iot
MYSQL_PASSWORD: mitko2021
MYSQL_PASSWORD: mitko2021
# for mitko:mqtt
node-mqtt:
image: eclipse-mosquitto
command: mosquitto -c /mosquitto-no-auth.conf
hostname: node-mqtt
ports:
- 1885:1883
restart: always