1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/ot-recorder/README.md

28 lines
705 B
Markdown
Raw Normal View History

2017-03-31 10:35:00 +02:00
ot-recorder
===========
2017-03-31 10:38:03 +02:00
The [OwnTracks Recorder][1] is a lightweight program for storing and accessing
location data published via MQTT (or HTTP) by the OwnTracks apps.
2017-03-31 10:35:00 +02:00
2017-03-31 10:38:03 +02:00
## docker-compose.yml
2017-03-31 10:35:00 +02:00
2017-03-31 10:38:03 +02:00
```yaml
ot-recorder:
image: vimagick/ot-recorder
ports:
- "8083:8083"
volumes:
- ./data:/var/spool/owntracks/recorder/store
2017-04-01 08:30:23 +02:00
environment:
- OTR_HOST=iot.eclipse.org
- OTR_PORT=1883
- OTR_TOPICS=owntracks/username/#
- OTR_OPTIONS=--browser-apikey XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2017-03-31 10:38:03 +02:00
restart: always
```
2017-04-01 08:30:23 +02:00
Click [this][2] to generate a google map api key.
2017-03-31 10:38:03 +02:00
[1]: https://github.com/owntracks/recorder
2017-04-01 08:30:23 +02:00
[2]: https://developers.google.com/maps/documentation/javascript/?authuser=1