thingsboard-memoizeit

Name Message Date
haproxy
tb-node
.env
.gitignore
check-dirs.sh
compose-utils.sh
docker-compose.cassandra.yml
docker-compose.postgres.yml
docker-compose.yml
docker-install-tb.sh
docker-remove-services.sh
docker-start-services.sh
docker-stop-services.sh
docker-update-service.sh
docker-upgrade-tb.sh
README.md
tb-coap-transport.env
tb-http-transport.env
tb-js-executor.env
tb-mqtt-transport.env
tb-node.env
tb-web-ui.env

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.