Communication between LoRaWAN's TTN/LoRaServer MQTT Brokers and the AGILE stack
112
In this very first example, we only have to: 1- set the environment variables within the docker-compose.yml file (sample below, building from the source code, since the Docker image is not ready yet)
version: '3'
services:
agile-lora:
container_name: agile-lora
# image: agileiot/agile-lora
build: .
depends_on:
- agile-dbus
- agile-core
volumes:
- $DBUS_SESSION_SOCKET_DIR:/usr/src/app/.agile_bus
environment:
- DBUS_SESSION_BUS_ADDRESS=unix:path=/usr/src/app/.agile_bus/agile_bus_socket
- LORAWAN_APP_SERVER = LoRaServer # Current options handled (TTN, LoRaServer)
- LORAWAN_APPID = <YOUR APP ID>
- LORAWAN_PSW = <YOUR APP password>
- LORAWAN_URL = < URL to the MQTT Broker>
- LORAWAN_MQTT_PORT= <MQTT Broker port> # NOTE: Optional parameter (default: 1883)
- LORAWAN_MQTT_TOPIC= <MQTT to get subscribed to>
restart: always
privileged: true
network_mode: "host"
Behold that this module depends on both agile-dbus and agile-core. The next and last step to make it run is the following command:
docker-compose up
Content type
Image
Digest
Size
243.3 MB
Last updated
almost 8 years ago
docker pull ioeari/agile-lora:v1.3