diff --git a/Containers/talk-recording/Dockerfile b/Containers/talk-recording/Dockerfile index a9aae7bb..65d32a16 100644 --- a/Containers/talk-recording/Dockerfile +++ b/Containers/talk-recording/Dockerfile @@ -3,6 +3,10 @@ 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 HPB_PROTOCOL https +ENV SKIP_VERIFY false +ENV HPB_PATH /standalone-signaling/ RUN set -ex; \ apk add --no-cache \ diff --git a/Containers/talk-recording/start.sh b/Containers/talk-recording/start.sh index 9f0fc7f1..dcdffcbf 100644 --- a/Containers/talk-recording/start.sh +++ b/Containers/talk-recording/start.sh @@ -21,26 +21,26 @@ 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 directory = /tmp [backend-1] -url = https://${NC_DOMAIN} +url = ${HPB_PROTOCOL}://${NC_DOMAIN} secret = ${RECORDING_SECRET} -skipverify = false +skipverify = ${SKIP_VERIFY} [signaling] signalings = signaling-1 [signaling-1] -url = https://${NC_DOMAIN}/standalone-signaling/ +url = ${HPB_PROTOCOL}://${NC_DOMAIN}${HPB_PATH} internalsecret = ${INTERNAL_SECRET} [ffmpeg]