dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
929 B
37 lines
929 B
#!/bin/bash
|
|
#
|
|
# SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
set -e
|
|
|
|
source compose-utils.sh
|
|
|
|
COMPOSE_VERSION=$(composeVersion) || exit $?
|
|
|
|
ADDITIONAL_COMPOSE_QUEUE_ARGS=$(additionalComposeQueueArgs) || exit $?
|
|
|
|
ADDITIONAL_COMPOSE_ARGS=$(additionalComposeArgs) || exit $?
|
|
|
|
ADDITIONAL_CACHE_ARGS=$(additionalComposeCacheArgs) || exit $?
|
|
|
|
ADDITIONAL_COMPOSE_MONITORING_ARGS=$(additionalComposeMonitoringArgs) || exit $?
|
|
|
|
ADDITIONAL_COMPOSE_EDQS_ARGS=$(additionalComposeEdqsArgs) || exit $?
|
|
|
|
COMPOSE_ARGS="\
|
|
-f docker-compose.yml ${ADDITIONAL_CACHE_ARGS} ${ADDITIONAL_COMPOSE_ARGS} ${ADDITIONAL_COMPOSE_QUEUE_ARGS} ${ADDITIONAL_COMPOSE_MONITORING_ARGS} ${ADDITIONAL_COMPOSE_EDQS_ARGS}\
|
|
stop"
|
|
|
|
case $COMPOSE_VERSION in
|
|
V2)
|
|
docker compose $COMPOSE_ARGS
|
|
;;
|
|
V1)
|
|
docker-compose $COMPOSE_ARGS
|
|
;;
|
|
*)
|
|
# unknown option
|
|
;;
|
|
esac
|
|
|