1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-02-03 13:21:35 +02:00

update ot-recorder

This commit is contained in:
kev 2019-10-01 23:30:02 +08:00
parent b51bfef974
commit 81ca5351bd
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ ENV OTR_HOST iot.eclipse.org
ENV OTR_PORT 1883
ENV OTR_HTTPHOST 0.0.0.0
ENV OTR_HTTPPORT 8083
ENV OTR_TOPICS owntracks/#
ENV OTR_TOPICS owntracks/+/+
ENV OTR_STORAGEDIR /var/spool/owntracks/recorder/store
VOLUME $OTR_STORAGEDIR

View File

@ -18,7 +18,7 @@ ENV OTR_HOST iot.eclipse.org
ENV OTR_PORT 1883
ENV OTR_HTTPHOST 0.0.0.0
ENV OTR_HTTPPORT 8083
ENV OTR_TOPICS owntracks/#
ENV OTR_TOPICS owntracks/+/+
ENV OTR_STORAGEDIR /var/spool/owntracks/recorder/store
VOLUME $OTR_STORAGEDIR

View File

@ -10,4 +10,4 @@ then
ot-recorder --initialize
fi
exec ot-recorder --http-host $OTR_HTTPHOST --http-port $OTR_HTTPPORT $OTR_OPTIONS ${OTR_TOPICS:-owntracks/#}
exec ot-recorder --http-host $OTR_HTTPHOST --http-port $OTR_HTTPPORT $OTR_OPTIONS ${OTR_TOPICS:-owntracks/+/+}

View File

@ -10,4 +10,4 @@ then
ot-recorder --initialize
fi
exec ot-recorder --http-host $OTR_HTTPHOST --http-port $OTR_HTTPPORT $OTR_OPTIONS ${OTR_TOPICS:-owntracks/#}
exec ot-recorder --http-host $OTR_HTTPHOST --http-port $OTR_HTTPPORT $OTR_OPTIONS ${OTR_TOPICS:-owntracks/+/+}