mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 04:20:17 +00:00
658003080e
Signed-off-by: Dusan Borovcanin <borovcanindusan1@gmail.com>
47 lines
2.0 KiB
YAML
47 lines
2.0 KiB
YAML
# Copyright (c) Abstract Machines
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# This docker-compose file contains optional lora-adapter and lora-redis services
|
|
# for the Magistrala platform. Since this services are optional, this file is dependent on the
|
|
# docker-compose.yml file from <project_root>/docker/. In order to run these services,
|
|
# core services, as well as the network from the core composition, should be already running.
|
|
|
|
networks:
|
|
magistrala-base-net:
|
|
|
|
services:
|
|
lora-redis:
|
|
image: redis:7.2.4-alpine
|
|
container_name: magistrala-lora-redis
|
|
restart: on-failure
|
|
networks:
|
|
- magistrala-base-net
|
|
|
|
lora-adapter:
|
|
image: magistrala/lora:${MG_RELEASE_TAG}
|
|
container_name: magistrala-lora
|
|
restart: on-failure
|
|
environment:
|
|
MG_LORA_ADAPTER_LOG_LEVEL: ${MG_LORA_ADAPTER_LOG_LEVEL}
|
|
MG_LORA_ADAPTER_MESSAGES_URL: ${MG_LORA_ADAPTER_MESSAGES_URL}
|
|
MG_LORA_ADAPTER_MESSAGES_TOPIC: ${MG_LORA_ADAPTER_MESSAGES_TOPIC}
|
|
MG_LORA_ADAPTER_MESSAGES_USER: ${MG_LORA_ADAPTER_MESSAGES_USER}
|
|
MG_LORA_ADAPTER_MESSAGES_PASS: ${MG_LORA_ADAPTER_MESSAGES_PASS}
|
|
MG_LORA_ADAPTER_MESSAGES_TIMEOUT: ${MG_LORA_ADAPTER_MESSAGES_TIMEOUT}
|
|
MG_LORA_ADAPTER_EVENT_CONSUMER: ${MG_LORA_ADAPTER_EVENT_CONSUMER}
|
|
MG_LORA_ADAPTER_HTTP_HOST: ${MG_LORA_ADAPTER_HTTP_HOST}
|
|
MG_LORA_ADAPTER_HTTP_PORT: ${MG_LORA_ADAPTER_HTTP_PORT}
|
|
MG_LORA_ADAPTER_HTTP_SERVER_CERT: ${MG_LORA_ADAPTER_HTTP_SERVER_CERT}
|
|
MG_LORA_ADAPTER_HTTP_SERVER_KEY: ${MG_LORA_ADAPTER_HTTP_SERVER_KEY}
|
|
MG_LORA_ADAPTER_ROUTE_MAP_URL: ${MG_LORA_ADAPTER_ROUTE_MAP_URL}
|
|
MG_ES_URL: ${MG_ES_URL}
|
|
MG_MESSAGE_BROKER_URL: ${MG_MESSAGE_BROKER_URL}
|
|
MG_JAEGER_URL: ${MG_JAEGER_URL}
|
|
MG_JAEGER_TRACE_RATIO: ${MG_JAEGER_TRACE_RATIO}
|
|
MG_SEND_TELEMETRY: ${MG_SEND_TELEMETRY}
|
|
MG_LORA_ADAPTER_INSTANCE_ID: ${MG_LORA_ADAPTER_INSTANCE_ID}
|
|
ports:
|
|
- ${MG_LORA_ADAPTER_HTTP_PORT}:${MG_LORA_ADAPTER_HTTP_PORT}
|
|
networks:
|
|
- magistrala-base-net
|