services: mosquitto: #build: # dockerfile: Dockerfile # context: ./docker image: git.limbosolutions.com/marcio.fernandes/mosquitto:latest ports: - '1883:1883' - '8883:8883' environment: - TZ= Europe/Lisbon - | MOSQUITTO_CONFIG_CONTENT= listener ${LISTENER_PORT} allow_anonymous ${ALLOW_ANONYMOUS} volumes: - data:/mosquitto/data restart: unless-stopped volumes: data: