1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/ot-recorder
2017-08-10 16:21:45 +08:00
..
arm fix ot-recorder-arm 2017-08-10 16:21:45 +08:00
docker-compose.yml update ot-recorder 2017-05-22 22:02:52 +08:00
docker-entrypoint.sh update ot-recorder 2017-05-22 22:02:52 +08:00
Dockerfile update ot-recorder 2017-08-10 16:19:01 +08:00
README.md update ot-recorder 2017-05-22 22:02:52 +08:00

ot-recorder

The OwnTracks Recorder is a lightweight program for storing and accessing location data published via MQTT (or HTTP) by the OwnTracks apps.

docker-compose.yml

ot-recorder:
  image: vimagick/ot-recorder
  ports:
    - "8083:8083"
  volumes:
    - ./data:/var/spool/owntracks/recorder/store
  environment:
    - OTR_HOST=iot.eclipse.org
    - 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
  restart: always

You can pass any options to process via OTR_OPTIONS environment variable.

Click this to generate a google map api key.