From 596df38fc64d40bf61af59a9c926893a78de24cd Mon Sep 17 00:00:00 2001 From: Brian Conway <630723+blocknonip@users.noreply.github.com> Date: Thu, 28 Nov 2019 01:34:17 -0600 Subject: [PATCH] Update to support ChirpStack Gateway Bridge v3.5 config (#26) v3.5 replaces the dot (.) separated env. variables by double underscores (__). Dots do work within Docker, but are not valid for env. variable names. It also implements supports for defining a list of MQTT servers instead of a single server. --- .../chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml | 2 +- docker-compose-env.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml b/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml index 702460d..894de95 100644 --- a/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml +++ b/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml @@ -2,6 +2,6 @@ # configuration example and documentation. [integration.mqtt.auth.generic] -server="tcp://mosquitto:1883" +servers=["tcp://mosquitto:1883"] username="" password="" diff --git a/docker-compose-env.yml b/docker-compose-env.yml index badbf2a..648ed5c 100644 --- a/docker-compose-env.yml +++ b/docker-compose-env.yml @@ -27,7 +27,7 @@ services: ports: - 1700:1700/udp environment: - - INTEGRATION.MQTT.AUTH.GENERIC.SERVER=tcp://mosquitto:1883 + - INTEGRATION__MQTT__AUTH__GENERIC__SERVERS=tcp://mosquitto:1883 chirpstack-geolocation-server: image: chirpstack/chirpstack-geolocation-server:3