version: "3.8"
services:
  mosquitto:
    image: vimagick/mosquitto
    ports:
      - "1883:1883"
    volumes:
      - ./data/etc:/etc/mosquitto
      - ./data/var:/var/lib/mosquitto
      - ./data/log:/var/log/mosquitto
    restart: unless-stopped
