mirror of
https://github.com/owntracks/docker-recorder.git
synced 2026-08-26 10:37:17 +00:00
doc
This commit is contained in:
@@ -1 +1,3 @@
|
||||
## Dockerfile for OwnTracks Recorder and Mosquitto
|
||||
|
||||
This is a Dockerfile for the [OwnTracks Recorder](https://github.com/owntracks/recorder) which includes the [Mosquitto broker](http://mosquitto.org) as well as the Recorder proper. Documentation for running this is in the [Booklet](http://owntracks.org/booklet/clients/recorder/).
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
cthostname="owntracks.example.org"
|
||||
|
||||
docker run -v /tmp/o2:/owntracks -p 11883:1883 -p 18883:8883 -p 8083:8083 \
|
||||
--name "owntracks-recorder" \
|
||||
--hostname "${cthostname}" \
|
||||
-e MQTTHOSTNAME="${cthostname}" \
|
||||
-e IPLIST="192.168.1.1 127.0.0.83 192.168.1.82" \
|
||||
-e HOSTLIST="foo.example.com bar.org.example.com ${cthostname}" \
|
||||
owntracks/recorderd
|
||||
Reference in New Issue
Block a user