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: