#
# Copyright © 2016-2026 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.
#

services:
  rabbitmq:
    restart: always
    image: rabbitmq:3
    ports:
      - '5672:5672'
    environment:
      RABBITMQ_DEFAULT_USER: YOUR_USERNAME
      RABBITMQ_DEFAULT_PASS: YOUR_PASSWORD
  tb-js-executor:
    depends_on:
      - rabbitmq
  tb-core1:
    depends_on:
      - rabbitmq
  tb-core2:
    depends_on:
      - rabbitmq
  tb-rule-engine1:
    depends_on:
      - rabbitmq
  tb-rule-engine2:
    depends_on:
      - rabbitmq
  tb-mqtt-transport1:
    depends_on:
      - rabbitmq
  tb-mqtt-transport2:
    depends_on:
      - rabbitmq
  tb-http-transport1:
    depends_on:
      - rabbitmq
  tb-http-transport2:
    depends_on:
      - rabbitmq
  tb-coap-transport:
    depends_on:
      - rabbitmq
  tb-lwm2m-transport:
    depends_on:
      - rabbitmq
  tb-snmp-transport:
    depends_on:
      - rabbitmq
  tb-vc-executor1:
    depends_on:
      - rabbitmq
  tb-vc-executor2:
    depends_on:
      - rabbitmq
