Skip to content
Stand with Ukraine flag

Installing Trendz Analytics using Docker (Linux, macOS)

This guide explains how to install and run Trendz Analytics using Docker on Linux or macOS.

Hardware: Minimum 4 GB of RAM and 2 CPU cores. In small and medium deployments, Trendz can be installed on the same server as ThingsBoard.

Software:

Trendz Analytics can be installed in two ways:

  • Run alongside ThingsBoard PE — recommended. Trendz shares the same docker-compose.yml and PostgreSQL instance as ThingsBoard PE.
  • Standalone — Trendz runs independently with its own PostgreSQL. Use this if you are not running ThingsBoard PE on the same host or prefer a fully isolated setup.

Trendz Analytics is designed to run alongside ThingsBoard PE, sharing the same docker-compose setup and PostgreSQL instance.

Follow the instructions in Install Trendz Analytics (optional) in the ThingsBoard PE Docker guide.

After installation, verify that Trendz has successfully connected to ThingsBoard. This step is required regardless of how you installed Trendz.

Log in to ThingsBoard as a Sysadmin and open the Trendz Settings page.

If you see “Synchronization completed successfully”, no further action is needed.

If you see an error message:

  1. Make sure Trendz is running.
  2. Enter the correct Trendz internal URL (must be reachable from ThingsBoard).
  3. Enter the correct ThingsBoard internal URL (must be reachable from Trendz).
  4. Click Save configuration.
  5. Click Retry discovery.

Access Trendz UI at http://localhost:8888.

Trendz uses ThingsBoard as its authentication provider — log in with your Tenant Administrator credentials from ThingsBoard.

After the first login, discover the topology so Trendz can learn about your assets, devices, profiles, and relations:

See Business Entities for more on how Trendz uses this topology.

Detach from the log stream without stopping the container: press Ctrl-p then Ctrl-q.

ActionCommand
View Trendz logsdocker compose logs -f trendz
Stop Trendzdocker compose stop trendz
Start Trendzdocker compose start trendz

See the Upgrade Instructions for detailed steps.

If you see errors like:

127.0.1.1:53: cannot unmarshal DNS message

Configure your system to use Google public DNS. See the Linux or macOS instructions.