1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00

update ot-recorder

This commit is contained in:
kev 2022-06-30 11:04:43 +08:00
parent 8bef0d07a5
commit 5ce03f0302

@ -2,24 +2,24 @@
# Dockerfile for ot-recorder # Dockerfile for ot-recorder
# #
FROM debian:buster FROM debian:bullseye
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
RUN set -xe \ RUN set -xe \
&& apt-get update \ && apt-get update \
&& apt-get install -y curl gnupg \ && apt-get install -y curl gnupg \
&& curl -sSL http://repo.owntracks.org/repo.owntracks.org.gpg.key | apt-key add - \ && curl -sSL http://repo.owntracks.org/repo.owntracks.org.gpg.key | apt-key add - \
&& echo 'deb http://repo.owntracks.org/debian buster main' > /etc/apt/sources.list.d/owntracks.list \ && echo 'deb http://repo.owntracks.org/debian bullseye main' > /etc/apt/sources.list.d/owntracks.list \
&& apt-get update \ && apt-get update \
&& apt-get install -y ot-recorder || true \ && apt-get install -y ot-recorder || true \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENV OTR_HOST mqtt.eclipse.org ENV OTR_HOST=mqtt.eclipse.org \
ENV OTR_PORT 1883 OTR_PORT=1883 \
ENV OTR_HTTPHOST 0.0.0.0 OTR_HTTPHOST=0.0.0.0 \
ENV OTR_HTTPPORT 8083 OTR_HTTPPORT=8083 \
ENV OTR_TOPICS owntracks/# OTR_TOPICS=owntracks/# \
ENV OTR_STORAGEDIR /var/spool/owntracks/recorder/store OTR_STORAGEDIR=/var/spool/owntracks/recorder/store
VOLUME $OTR_STORAGEDIR VOLUME $OTR_STORAGEDIR