Skip to main content

Install Coreflux

Most people should use Docker or Docker Compose for the broker and the Coreflux HUB. Just evaluating with nothing to install? Use the Cloud Trial tab. The HUB desktop tab is the standalone app. Native broker binaries and cloud droplets are in the remaining tabs.
Coreflux runs as a single install. No separate databases or message queues—pick a method below and run it.
Every local install method uses the same defaults:For a Cloud Trial, use the credentials from your email instead.

~2 min if Docker is already installed — broker, HUB, or both.
The broker and Coreflux HUB are separate images. Pick the command that matches what you want to run. The HUB desktop app is in the HUB desktop tab.
New to Docker? Install it from the official Docker install page, then confirm with docker --version before you continue. Images are on Docker Hub.
Start the broker. Docker fetches the latest image automatically:
MQTT is on localhost:1883. There is no HUB in this command — use HUB only or Broker + HUB, or the standalone HUB app.
The HUB proxies MQTT from inside Docker, so Host localhost does not reach a broker container.That’s it—Coreflux is now running locally. Confirm it works under Verify Installation below.
Breaking the broker docker run down piece by piece:
  • --pull=always — always fetch the latest image before starting, so you never run a stale version.
  • -d — runs the container detached (in the background), so your terminal stays free.
  • --name coreflux_broker — names the container so you can reference it later (for example docker logs coreflux_broker).
  • -p 1883:1883 -p 5000:5000 -p 9100:9100 — each -p host:container maps a port on your machine to the same port inside the container. See the port table above for what each one is for.
  • -v project-volume:/etc/project — mounts a named volume so your project (LoT, routes, configuration) persists across restarts and image updates.
  • coreflux/coreflux-mqtt-broker:latest — the broker image, pulled from Docker Hub. The HUB image is coreflux/coreflux-hub:latest.
If you configure TLS certificates, expose these additional broker ports (8883 and 5443):
See Broker Configuration for TLS setup.

Verify Installation

The quickest visual check is the Coreflux HUB in your browser. You can also confirm directly by connecting an MQTT client and seeing Coreflux’s system topics—that’s how the broker is actually used. Use the default credentials from the top of the page (or your trial email).
1

Open the HUB

Open your environment URL in the browser—for a Cloud Trial, use the address from your email; for Docker or Docker Compose, use http://localhost:3000. For the HUB desktop app, the window opens on its own.

Coreflux HUB — choose a stored connection or click New Connection

2

Choose or create a connection

The login screen lists stored connections. Click Enter on a saved one, or click New Connection to add a broker.Fill in the broker fields, then enter the default credentials (or your trial email) and click Connect. Optionally click Save connection so the HUB remembers this broker next time.

New Connection — name the broker, set protocol, host, and port, then Connect

3

Confirm the dashboard loaded

After a successful login, you should see the HUB home screen with the bottom navigation bar.

Coreflux HUB after login — start from the first icon in the navigation bar

The status bar shows route count and license info—the broker is reachable from the HUB.
4

Browse MQTT data

Select MQTTData Viewer. Expand $SYS/Coreflux in the Topic Tree—you should see broker topics such as Config, Version, and Resources updating live.

Data Viewer — Topic Tree, Publish panel, and live topic values

If verification fails

Pick the symptom that matches your setup:
If you can’t connect, confirm the broker is actually up using the tooling for your install method.For a Docker install, inspect the container:
For Docker Compose, use docker compose ps and docker compose logs -f from the directory that contains docker-compose.yml. The broker container is named coreflux-broker.For a service install, check the service status: sudo systemctl status coreflux-broker (Linux package install), sudo systemctl status coreflux (DigitalOcean droplet), or sc query CorefluxBroker (Windows).
Symptom: the HUB loads in some environments but not in a Docker-in-VM or remote setup.Fix: use the host’s actual address instead of localhost.
Symptom: the command errors with “cannot connect to the Docker daemon”.Fix: start Docker Desktop (or the Docker service) and run the command again.
Symptom: an error binding a port, e.g. 3000 or 1883 is already allocated.Fix: stop the process using that port, or remap the host side of the port (for example -p 1884:1883 on Docker, or change the left-hand port in docker-compose.yml).
Symptom: docker ps shows nothing after you start the broker.Fix: run docker logs coreflux_broker to see why it exited. For Compose, run docker compose logs broker from the directory that contains docker-compose.yml.
Symptom: the HUB at http://localhost:3000 fails to connect when Host is localhost, or shows Broker isn’t reachable.Fix: the HUB proxies MQTT from inside Docker. On New Connection, set Host to broker, Protocol mqtt://, Port 1883 (or Protocol ws://, Port 5000, Path mqtt).
Symptom: the HUB or an MQTT client fails to connect right after you receive your trial email.Fix: wait up to 60 seconds for the broker to become available, then retry. In the browser, allow unsecure access (or proceed past the certificate warning) for the trial URL. In MQTT Explorer, use MQTTS on port 8883, enable Encryption, and disable Validate certificate.

Next Steps

Getting Started

Create your first LoT Action in under 15 minutes.

VS Code Extension

Set up the LoT language extension for syntax highlighting.
Last modified on September 4, 2026