-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
620e328
commit f4b6bec
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
Run a MQTT server and Bridge to the Simple GPS-Data Server | ||
========================================================== | ||
# Run a MQTT server and Bridge to the Simple GPS-Data Server | ||
|
||
Projects like Owntracks (e.g. APP) send the GPS data to a MQTT server. In order to get these data stored and visualized, a bridge code subscribes to the data and sends the data to the TCP-Bridge. | ||
|
||
This dockerized version starts a Mosquitto server and runs the bridge code (Golang program) in a separate container. | ||
|
||
The configuration is done in the `docker-compose.yml` file by changing the environment variables. | ||
|
||
The MQTT configuration is done in the corresponding `config` directory. | ||
Parameters are configurated in`docker-compose.yml` by changing the environment variables. | ||
|
||
## Encrypting the payload | ||
The Owntracks client allows to encrypt the payload, e.g. the GPS data. This requires to enter a pre-shared key in the client. Only a single key can used for all client devices. | ||
The PSK has to be known by the bridge code and has to be entered as a parameter in `docker-compose.yml` (`PSK_ENC`). |