Sign inSign up

cgraefe/owntracks-recorder

By cgraefe

•Updated about 9 years ago

OwnTracks Recorder with Lua Hooks for MySQL Storage

Image
0

1.4K

cgraefe/owntracks-recorder repository overview

⁠OwnTracks Recorder with MySQL Storage

This is a Dockerfile for the OwnTracks Recorder⁠. It is loosely based on the official OwnTracks Recorder Dockerfile⁠ but does not include a dedicated MQTT server. Instead, it includes Lua hooks for an additional MySQL storage back end and stores location data in a table called location somewhat compatible with that used by the old "m2s" daemon.

Find the Dockerfile source on Github⁠.

⁠Using the image
$ docker run --name my-recorder \
  -v /var/lib/owntracks/data:/owntracks \
  -d cgraefe/owntracks-recorder

$ docker run --name my-recorder \ 
  -v /var/lib/owntracks/data:/owntracks \
  -e ORT_HOST=mqtt.my-servers.com \
  -e MYSQL_HOST=mysql.my-servers.com \
  -e MYSQL_DB=owntracks \
  -e MYSQL_USER=dbuser \
  -e MYSQL_PASSWORD=thisissecret \
  -d cgraefe/owntracks-recorder

Tag summary

Content type

Image

Digest

Size

126.7 MB

Last updated

about 9 years ago

docker pull cgraefe/owntracks-recorder