Merge pull request #3000 from nextcloud/enh/noid/allow-configure-hpb-domain

talk-recording - allow to set hpb_domain and nc_domain independently
This commit is contained in:
Simon L 2023-07-28 11:39:13 +02:00 committed by GitHub
commit 400ba74f97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,10 @@ elif [ -z "$INTERNAL_SECRET" ]; then
exit 1
fi
if [ -z "$HPB_DOMAIN" ]; then
export HPB_DOMAIN="$NC_DOMAIN"
fi
cat << RECORDING_CONF > "/conf/recording.conf"
[logs]
# 30 means Warning
@ -40,7 +44,7 @@ skipverify = ${SKIP_VERIFY}
signalings = signaling-1
[signaling-1]
url = ${HPB_PROTOCOL}://${NC_DOMAIN}${HPB_PATH}
url = ${HPB_PROTOCOL}://${HPB_DOMAIN}${HPB_PATH}
internalsecret = ${INTERNAL_SECRET}
[ffmpeg]