From f9680a73ce58899c75ba571a4390fbe49612feef Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 24 Aug 2021 15:45:12 +0300 Subject: [PATCH] added mqtt broker to the stack --- docker-compose.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3215bce..7ce8a18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,4 +21,12 @@ services: MYSQL_DATABASE: iot MYSQL_ROOT_PASSWORD: mitko2021 MYSQL_USER: iot - MYSQL_PASSWORD: mitko2021 \ No newline at end of file + 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 \ No newline at end of file