thingsboard/docker/docker-compose.edqs.yml
2025-07-15 21:50:37 +05:30

62 lines
1.6 KiB
YAML

#
# Copyright © 2016-2025 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:
tb-core1:
env_file:
- tb-core-edqs.env
tb-core2:
env_file:
- tb-core-edqs.env
tb-rule-engine1:
env_file:
- tb-rule-engine-edqs.env
tb-rule-engine2:
env_file:
- tb-rule-engine-edqs.env
tb-edqs1:
restart: always
image: "${DOCKER_REPO}/${EDQS_DOCKER_NAME}:${TB_VERSION}"
environment:
TB_SERVICE_ID: tb-edqs1
JAVA_OPTS: "${JAVA_OPTS}"
env_file:
- tb-edqs.env
volumes:
- ./tb-edqs/conf:/usr/share/tb-edqs/conf
- ./tb-edqs/log:/var/log/tb-edqs
ports:
- "8080"
depends_on:
- zookeeper
- kafka
tb-edqs2:
restart: always
image: "${DOCKER_REPO}/${EDQS_DOCKER_NAME}:${TB_VERSION}"
environment:
TB_SERVICE_ID: tb-edqs2
JAVA_OPTS: "${JAVA_OPTS}"
env_file:
- tb-edqs.env
volumes:
- ./tb-edqs/conf:/usr/share/tb-edqs/conf
- ./tb-edqs/log:/var/log/tb-edqs
ports:
- "8080"
depends_on:
- zookeeper
- kafka