MQTT Broker

I'm using a local mosquitto broker for all mqtt communication. The broker runs inside a docker on my home automation server.

version: '2.1'
services:
  mqtt:
    container_name: mqtt
    image: eclipse-mosquitto:latest
    restart: always
    ports:
      - "1883:1883"
      - "9001:9001"
    volumes:
      - ./volumes/mqtt:/mosquitto
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro