Eclipse Mosquitto

Eclipse Mosquitto — One-Click Install

The MQTT protocol provides a lightweight method of carrying out messaging using a publish/subscribe model.

Why install Eclipse Mosquitto with Web.Casa?

One-Click Deploy

No manual Docker Compose needed. Web.Casa configures and starts everything.

Auto HTTPS

Caddy auto-provisions SSL certificates. Reverse proxy works out of the box.

Unified Management

Monitoring, backups, updates, logs — manage all apps from one panel.

How to Install

Install Web.Casa first, then one-click install this app from the App Store.

App Info

Version
2.0.22
Author
Eclipse Foundation
Default Port
8288

Eclipse Mosquitto MQTT Broker with UI

This app consists of two images providing an MQTT broker and a UI for managing access to the broker. The configuration is adapted from the GitHub repo: shantanoo-desai/mqtt-rbac-docker-init

Eclipse Mosquitto

Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 5.0, 3.1.1 and 3.1. Mosquitto is lightweight and is suitable for use on all devices from low power single board computers to full servers.

Mosquitto is part of the Eclipse Foundation, and is an iot.eclipse.org project. The development is driven by Cedalo.

The broker is configured by default that it listens to the port 1883 for tcp connections. To also use websocket connection you can enable it by edit the /runtipi/app-date/eclipse-mosquitto/data/config/moscquitto.conf with the following content:

listener 9001
protocol websockets

Note WebSockets, while powerful, can introduce vulnerabilities if left unsecured. They should be secured using TLS/encryption. For more detailed information the mosquitto documentation.

Cedalo Management Center

Cedalo Management Center allows to easily manage, monitor and inspect instances of Eclipse Mosquitto. There are some pro features that can only be activated by getting a license from cedalo.

cedalo_mgm_center.png

By default the following features are provided:

  • A system dashboard to view key figures, showing broker traffic, license and client infos.
  • Table of clients, which have connected to the broker, for inspection purposes.
  • A topic tree, displaying those topics that have been addressed, while the MMC is running.
  • Management of broker security allowing to modify clients, group and roles.
  • A terminal to execute commands related to the dynamic security API
  • Management Center infos and settings

The access to the broker is handled by the dynamic-security plugin in the mosquitto broker. The configuration is stored in the file /runtipi/app-date/eclipse-mosquitto/data/config/dynamic-security.json. This file is generated during the first launch of the the mosquitto image.

Links

See the following links for more information on MQTT:

Mosquitto project information is available at the following locations:

There is also a public test server available at https://test.mosquitto.org/

More information about the management center is available at the following locations:

FAQ

Can I install Eclipse Mosquitto on Web.Casa?

Yes, Eclipse Mosquitto is available in the Web.Casa App Store. You can install it with one click from the Web.Casa panel — no need to manually write Docker Compose files or configure reverse proxies.

How do I install Eclipse Mosquitto on Web.Casa?

First install Web.Casa with curl -fsSL https://get.web.casa | bash, then search for "Eclipse Mosquitto" in the App Store and click install. Web.Casa automatically configures the Docker container, assigns ports, and sets up a Caddy reverse proxy.

What is the default port for Eclipse Mosquitto on Web.Casa?

The default port for Eclipse Mosquitto on Web.Casa is 8288. You can bind it to a custom domain through Web.Casa's Caddy reverse proxy, which automatically provisions HTTPS certificates.

Does Eclipse Mosquitto get automatic HTTPS after installation?

Yes. Web.Casa is built on Caddy, so after installing the app, simply bind a domain and Caddy will automatically provision and renew SSL certificates via Let's Encrypt — no manual configuration needed.

How do I back up Eclipse Mosquitto data?

Web.Casa has a built-in backup plugin that supports automatic backups of Eclipse Mosquitto data to local storage, S3, WebDAV, or SFTP. You can configure scheduled snapshots and retention policies to keep your data safe.