committed by
Andrew Shvayka
26 changed files with 451 additions and 52 deletions
@ -0,0 +1,71 @@ |
|||||
|
# |
||||
|
# Copyright © 2016-2020 The Thingsboard Authors |
||||
|
# |
||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
# you may not use this file except in compliance with the License. |
||||
|
# You may obtain a copy of the License at |
||||
|
# |
||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
# |
||||
|
# Unless required by applicable law or agreed to in writing, software |
||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
# See the License for the specific language governing permissions and |
||||
|
# limitations under the License. |
||||
|
# |
||||
|
|
||||
|
version: '2.2' |
||||
|
|
||||
|
services: |
||||
|
tb-js-executor: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
tb-core1: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-core2: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine1: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine2: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-mqtt-transport1: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-mqtt-transport2: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport1: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport2: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-coap-transport: |
||||
|
env_file: |
||||
|
- queue-aws-sqs.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
@ -0,0 +1,82 @@ |
|||||
|
# |
||||
|
# Copyright © 2016-2020 The Thingsboard Authors |
||||
|
# |
||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
# you may not use this file except in compliance with the License. |
||||
|
# You may obtain a copy of the License at |
||||
|
# |
||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
# |
||||
|
# Unless required by applicable law or agreed to in writing, software |
||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
# See the License for the specific language governing permissions and |
||||
|
# limitations under the License. |
||||
|
# |
||||
|
|
||||
|
version: '2.2' |
||||
|
|
||||
|
services: |
||||
|
kafka: |
||||
|
restart: always |
||||
|
image: "wurstmeister/kafka:2.12-2.3.0" |
||||
|
ports: |
||||
|
- "9092:9092" |
||||
|
env_file: |
||||
|
- kafka.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-js-executor: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
tb-core1: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
- redis |
||||
|
tb-core2: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
- redis |
||||
|
tb-rule-engine1: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
- redis |
||||
|
tb-rule-engine2: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
- redis |
||||
|
tb-mqtt-transport1: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
tb-mqtt-transport2: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
tb-http-transport1: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
tb-http-transport2: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
|
tb-coap-transport: |
||||
|
env_file: |
||||
|
- queue-kafka.env |
||||
|
depends_on: |
||||
|
- kafka |
||||
@ -0,0 +1,71 @@ |
|||||
|
# |
||||
|
# Copyright © 2016-2020 The Thingsboard Authors |
||||
|
# |
||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
# you may not use this file except in compliance with the License. |
||||
|
# You may obtain a copy of the License at |
||||
|
# |
||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
# |
||||
|
# Unless required by applicable law or agreed to in writing, software |
||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
# See the License for the specific language governing permissions and |
||||
|
# limitations under the License. |
||||
|
# |
||||
|
|
||||
|
version: '2.2' |
||||
|
|
||||
|
services: |
||||
|
tb-js-executor: |
||||
|
env_file: |
||||
|
- queue-pubsub.env.env |
||||
|
tb-core1: |
||||
|
env_file: |
||||
|
- queue-pubsub.env.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-core2: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine1: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine2: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-mqtt-transport1: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-mqtt-transport2: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport1: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport2: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-coap-transport: |
||||
|
env_file: |
||||
|
- queue-pubsub.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
@ -0,0 +1,71 @@ |
|||||
|
# |
||||
|
# Copyright © 2016-2020 The Thingsboard Authors |
||||
|
# |
||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
# you may not use this file except in compliance with the License. |
||||
|
# You may obtain a copy of the License at |
||||
|
# |
||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
# |
||||
|
# Unless required by applicable law or agreed to in writing, software |
||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
# See the License for the specific language governing permissions and |
||||
|
# limitations under the License. |
||||
|
# |
||||
|
|
||||
|
version: '2.2' |
||||
|
|
||||
|
services: |
||||
|
tb-js-executor: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
tb-core1: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-core2: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine1: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine2: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-mqtt-transport1: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-mqtt-transport2: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport1: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport2: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-coap-transport: |
||||
|
env_file: |
||||
|
- queue-rabbitmq.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
@ -0,0 +1,71 @@ |
|||||
|
# |
||||
|
# Copyright © 2016-2020 The Thingsboard Authors |
||||
|
# |
||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
# you may not use this file except in compliance with the License. |
||||
|
# You may obtain a copy of the License at |
||||
|
# |
||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
# |
||||
|
# Unless required by applicable law or agreed to in writing, software |
||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
# See the License for the specific language governing permissions and |
||||
|
# limitations under the License. |
||||
|
# |
||||
|
|
||||
|
version: '2.2' |
||||
|
|
||||
|
services: |
||||
|
tb-js-executor: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
tb-core1: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-core2: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine1: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-rule-engine2: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
- redis |
||||
|
tb-mqtt-transport1: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-mqtt-transport2: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport1: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-http-transport2: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
|
tb-coap-transport: |
||||
|
env_file: |
||||
|
- queue-service-bus.env |
||||
|
depends_on: |
||||
|
- zookeeper |
||||
@ -0,0 +1,4 @@ |
|||||
|
TB_QUEUE_TYPE=aws-sqs |
||||
|
TB_QUEUE_AWS_SQS_ACCESS_KEY_ID=YOUR_KEY |
||||
|
TB_QUEUE_AWS_SQS_SECRET_ACCESS_KEY=YOUR_SECRET |
||||
|
TB_QUEUE_AWS_SQS_REGION=YOUR_REGION |
||||
@ -0,0 +1,2 @@ |
|||||
|
TB_QUEUE_TYPE=kafka |
||||
|
TB_KAFKA_SERVERS=kafka:9092 |
||||
@ -0,0 +1,3 @@ |
|||||
|
TB_QUEUE_TYPE=pubsub |
||||
|
TB_QUEUE_PUBSUB_PROJECT_ID=YOUR_PROJECT_ID |
||||
|
TB_QUEUE_PUBSUB_SERVICE_ACCOUNT=YOUR_SERVICE_ACCOUNT |
||||
@ -0,0 +1,5 @@ |
|||||
|
TB_QUEUE_TYPE=rabbitmq |
||||
|
TB_QUEUE_RABBIT_MQ_HOST=localhost |
||||
|
TB_QUEUE_RABBIT_MQ_PORT=5672 |
||||
|
TB_QUEUE_RABBIT_MQ_USERNAME=YOUR_USERNAME |
||||
|
TB_QUEUE_RABBIT_MQ_PASSWORD=YOUR_PASSWORD |
||||
@ -0,0 +1,4 @@ |
|||||
|
TB_QUEUE_TYPE=service-bus |
||||
|
TB_QUEUE_SERVICE_BUS_NAMESPACE_NAME=YOUR_NAMESPACE_NAME |
||||
|
TB_QUEUE_SERVICE_BUS_SAS_KEY_NAME=YOUR_SAS_KEY_NAME |
||||
|
TB_QUEUE_SERVICE_BUS_SAS_KEY=YOUR_SAS_KEY |
||||
Loading…
Reference in new issue