Mosquitto repository to test MQTT protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
315 B

  1. version: '2'
  2. services:
  3. mqtt:
  4. container_name: mosquitto
  5. image: eclipse-mosquitto:2.0.11
  6. restart: always
  7. ports:
  8. - "1883:1883"
  9. - "9001:9001"
  10. volumes:
  11. - ./config:/mosquitto/config
  12. - ./data:/mosquitto/data
  13. - ./log:/mosquitto/log
  14. volumes:
  15. config:
  16. data:
  17. log: