diff --git a/run.sh b/run.sh index 4fb402e..ad980a0 100755 --- a/run.sh +++ b/run.sh @@ -8,4 +8,5 @@ docker run -v /tmp/o2:/owntracks -p 11883:1883 -p 18883:8883 -p 8083:8083 \ -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}" \ + -e OTR_BROWSERAPIKEY="replace-me" \ owntracks/recorderd diff --git a/supervisord.conf b/supervisord.conf index e5c847c..52ce8a6 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -20,7 +20,7 @@ auto_start=true autorestart=true [program:recorder] -command=/usr/sbin/ot-recorder --http-host 0.0.0.0 'owntracks/#' +command=/usr/sbin/ot-recorder --http-host 0.0.0.0 --browser-apikey %(ENV_OTR_BROWSERAPIKEY)s 'owntracks/#' redirect_stderr=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0