Name Last Update
..
haproxy/config Loading commit data...
tb-node/conf Loading commit data...
.env Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
check-dirs.sh Loading commit data...
compose-utils.sh Loading commit data...
docker-compose.cassandra.yml Loading commit data...
docker-compose.postgres.yml Loading commit data...
docker-compose.yml Loading commit data...
docker-install-tb.sh Loading commit data...
docker-remove-services.sh Loading commit data...
docker-start-services.sh Loading commit data...
docker-stop-services.sh Loading commit data...
docker-update-service.sh Loading commit data...
docker-upgrade-tb.sh Loading commit data...
tb-coap-transport.env Loading commit data...
tb-http-transport.env Loading commit data...
tb-js-executor.env Loading commit data...
tb-mqtt-transport.env Loading commit data...
tb-node.env Loading commit data...
tb-web-ui.env Loading commit data...

Docker configuration for ThingsBoard Microservices

This folder containing scripts and Docker Compose configurations to run ThingsBoard in Microservices mode.

Installation

Execute the following command to run DataBase installation:

$ ./docker-install-tb.sh --loadDemo

  • --loadDemo - optional argument. Whether to load additional demo data.

Running

Execute the following command to run services:

$ ./docker-start-services.sh

Execute the following command to stop services:

$ ./docker-stop-services.sh

Execute the following command to stop and completely remove deployed docker containers:

$ ./docker-remove-services.sh

Execute the following command to update particular services (pull newer docker image and rebuild container):

$ ./docker-update-service.sh [SERVICE...]

Upgrading

In case when database upgrade is needed, execute the following commands:

$ ./docker-stop-services.sh $ ./docker-upgrade-tb.sh --fromVersion=[FROM_VERSION] $ ./docker-start-services.sh

  • FROM_VERSION - from which version upgrade should be started.