This commit is contained in:
Jan-Piet Mens
2016-01-25 11:17:52 +01:00
parent da9da49bda
commit d50890d97d
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -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/).
Executable
+11
View File
@@ -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