Skip to content
Stand with Ukraine flag

Cluster Setup using Docker Compose

Trendz Analytics cluster deployment is built into the ThingsBoard PE Docker Compose setup. There is no separate cluster configuration for Trendz — it runs as a service within the same Docker Compose project as ThingsBoard PE.

Follow the full cluster setup instructions in Cluster Setup using Docker Compose, then enable Trendz as described in the Enable Trendz Analytics step.

  • Trendz runs as a dedicated container (trendz) inside the ThingsBoard PE compose project.
  • It connects to the shared PostgreSQL instance managed by the cluster setup.
  • The Python Executor service (trendz-python-executor) is deployed alongside Trendz automatically.
  • HAProxy routes external traffic to Trendz on port 8888.

Trendz has its own release cycle and must be upgraded separately from ThingsBoard PE. See the Upgrading Trendz section in the cluster setup guide for the exact steps.