ThingsBoard Docker

What is ThingsBoard?

ThingsBoard is an open-source IoT platform that enables rapid development, management, and scaling of IoT projects. Our goal is to provide the out-of-the-box IoT cloud or on-premises solution that will enable server-side infrastructure for your IoT applications.

mkdir -p ~/.mytb-data && sudo chown -R 799:799 ~/.mytb-data
mkdir -p ~/.mytb-logs && sudo chown -R 799:799 ~/.mytb-logs

Installing ThingsBoard using Docker


  • http://localhost:9090/

  • System Administrator: / sysadmin

  • Tenant Administrator: / tenant

  • Customer User: / customer

Cluster setup with Docker Compose

  1. Pull ThingsBoard CE Images

  2. Review the architecture page

  3. Clone ThingsBoard CE repository

  4. Configure ThingsBoard database

  5. Choose ThingsBoard queue service

  6. Running

  • .env

  • tb.yml

  • docker-compose.postgres.yml

  • docker-compose.kafka.yml


./ --loadDemo


$ ./
$ ./
$ ./ [SERVICE...]

ThingsBoard 3.1

release-3.1, Tags: v3.1.1

Installing ThingsBoard using Docker (Windows)

docker volume create mytb-data
docker volume create mytb-logs
docker run -it -p 9090:9090 -p 1883:1883 -p 5683:5683/udp -v mytb-data:/data -v ~/mytb-logs:/var/log/thingsboard --name mytb --restart always thingsboard/tb-postgres:3.1.1

ThingsBoard 3.2

release-3.2, Tags: v3.2.2

ThingsBoard 3.3

release-3.3, Tags: v3.3.4.1

ThingsBoard 3.4

release-3.4, Tags: v3.4