From 7bb75459721340d247529aaae0ff4749ed592576 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 27 Jun 2023 10:59:20 +0200 Subject: [PATCH] talk-recording - set allow_all and skip_verify via env Signed-off-by: Simon L --- Containers/talk-recording/Dockerfile | 2 ++ Containers/talk-recording/start.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Containers/talk-recording/Dockerfile b/Containers/talk-recording/Dockerfile index a9aae7bb..89a5656a 100644 --- a/Containers/talk-recording/Dockerfile +++ b/Containers/talk-recording/Dockerfile @@ -3,6 +3,8 @@ FROM python:3.11.4-alpine3.18 COPY --chmod=775 start.sh /start.sh ENV RECORDING_VERSION v17.0.2 +ENV ALLOW_ALL false +ENV SKIP_VERIFY false RUN set -ex; \ apk add --no-cache \ diff --git a/Containers/talk-recording/start.sh b/Containers/talk-recording/start.sh index 9f0fc7f1..cd2325a1 100644 --- a/Containers/talk-recording/start.sh +++ b/Containers/talk-recording/start.sh @@ -21,11 +21,11 @@ level = 30 listen = 0.0.0.0:1234 [backend] -allowall = false +allowall = ${ALLOW_ALL} # TODO: remove secret below when https://github.com/nextcloud/spreed/issues/9580 is fixed secret = ${RECORDING_SECRET} backends = backend-1 -skipverify = false +skipverify = ${SKIP_VERIFY} maxmessagesize = 1024 videowidth = 1920 videoheight = 1080 @@ -34,7 +34,7 @@ directory = /tmp [backend-1] url = https://${NC_DOMAIN} secret = ${RECORDING_SECRET} -skipverify = false +skipverify = ${SKIP_VERIFY} [signaling] signalings = signaling-1