schollz / find

High-precision indoor positioning framework for most wifi-enabled devices.
https://www.internalpositioning.com/
GNU Affero General Public License v3.0
5.05k stars 368 forks source link

Support external MQTT servers #200

Closed pschmitt closed 6 years ago

pschmitt commented 6 years ago

This PR allows settings MQTT_SERVER, MQTT_USERNAME and MQTT_PASSWORD on runtime thus permitting to use an MQTT server other than the bundled one.

Usage example:

docker run --name find-server -p 8003:8003 \
  -e MQTT_SERVER=mqtt.example.com \
  -e MQTT_USERNAME=find \
  -e MQTT_PASSWORD=dasdaqsed324 \
  schollz/find
schollz commented 6 years ago

Awesome, thanks @pschmitt !