mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-06-02 00:15:39 +02:00
add recording feature into setup scripts
This commit is contained in:
parent
fe17745096
commit
25a345dd80
@ -1,7 +1,7 @@
|
|||||||
version: '3.6'
|
version: '3.6'
|
||||||
services:
|
services:
|
||||||
recordings-process:
|
recordings:
|
||||||
build: mod/recordings-process
|
build: mod/recordings
|
||||||
environment:
|
environment:
|
||||||
DOMAIN: ${DOMAIN}
|
DOMAIN: ${DOMAIN}
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -16,5 +16,5 @@ if [ ! "$ENABLE_RECORDING" == true ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./scripts/compose exec recordings-process bbb-record $@
|
./scripts/compose exec recordings bbb-record $@
|
||||||
./scripts/compose logs --tail=15 recordings-process
|
./scripts/compose logs --tail=15 recordings
|
@ -45,6 +45,11 @@ while [[ -z "$DOMAIN" ]]; do
|
|||||||
read -p "Please enter the domain name: " DOMAIN
|
read -p "Please enter the domain name: " DOMAIN
|
||||||
done
|
done
|
||||||
|
|
||||||
|
recording=""
|
||||||
|
while [[ ! $recording =~ ^(y|n)$ ]]; do
|
||||||
|
read -p "Should recording feature be included? (y/n): " recording
|
||||||
|
done
|
||||||
|
|
||||||
ip_correct=""
|
ip_correct=""
|
||||||
while [[ ! $ip_correct =~ ^(y|n)$ ]]; do
|
while [[ ! $ip_correct =~ ^(y|n)$ ]]; do
|
||||||
read -p "Is $EXTERNAL_IPv4 your external IPv4 address? (y/n): " ip_correct
|
read -p "Is $EXTERNAL_IPv4 your external IPv4 address? (y/n): " ip_correct
|
||||||
@ -92,6 +97,11 @@ then
|
|||||||
sed -i "s/ENABLE_HTTPS_PROXY.*/#ENABLE_HTTPS_PROXY=true/" .env
|
sed -i "s/ENABLE_HTTPS_PROXY.*/#ENABLE_HTTPS_PROXY=true/" .env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! "$recording" == "y" ]
|
||||||
|
then
|
||||||
|
sed -i "s/ENABLE_RECORDING.*/#ENABLE_RECORDING=true/" .env
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$coturn" == "y" ]
|
if [ "$coturn" == "y" ]
|
||||||
then
|
then
|
||||||
sed -i "s/.*TURN_SERVER=.*/TURN_SERVER=turns:$DOMAIN:465?transport=tcp/" .env
|
sed -i "s/.*TURN_SERVER=.*/TURN_SERVER=turns:$DOMAIN:465?transport=tcp/" .env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user