Sign inSign up

ioeari/agile-lora

By ioeari

•Updated almost 8 years ago

Communication between LoRaWAN's TTN/LoRaServer MQTT Brokers and the AGILE stack

Image
0

112

ioeari/agile-lora repository overview

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

Tag summary

Content type

Image

Digest

Size

243.3 MB

Last updated

almost 8 years ago

docker pull ioeari/agile-lora:v1.3