From 95aa7c64a8401bf6ca617dac340a0c0849915e6a Mon Sep 17 00:00:00 2001 From: Kai Jan Kriegel Date: Fri, 24 Nov 2023 17:48:27 +0100 Subject: [PATCH] replace mosquitto with emqx --- docker-compose.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 4b67ce0..fa647c6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -26,13 +26,22 @@ services: links: - mqtt + # mqtt: + # image: eclipse-mosquitto:1.6.15 + # restart: always + # ports: + # - "1883:1883" + # volumes: + # - "./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf" mqtt: - image: eclipse-mosquitto:1.6.15 + image: emqx/emqx:latest restart: always ports: - - "1883:1883" - volumes: - - "./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf" + - 1883:1883 + - 8083:8083 + - 8084:8084 + - 8883:8883 + - 18083:18083 volumes: data: