1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/ot-recorder/README.md

34 lines
887 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
2017-05-22 15:53:26 +02:00
- OTR_PORT=8883
- OTR_USER=username
- OTR_PASS=password
- OTR_CAFILE=/etc/ssl/certs/DST_Root_CA_X3.pem
- OTR_TOPICS=owntracks/#
- OTR_BROWSERAPIKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- OTR_OPTIONS=--qos 0
2017-03-31 10:38:03 +02:00
restart: always
```
2017-05-22 15:53:26 +02:00
You can pass any options to process via `OTR_OPTIONS` environment variable.
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