mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-02-16 09:50:08 +01:00
Resolve conflicts
This commit is contained in:
parent
a7d9bbf711
commit
3d3830fccb
@ -66,7 +66,6 @@ while [[ ! $recording =~ ^(y|n)$ ]]; do
|
||||
read -p "Choice (y/n): " recording
|
||||
done
|
||||
|
||||
|
||||
prometheus_exporter=""
|
||||
while [[ ! $prometheus_exporter =~ ^(y|n)$ ]]; do
|
||||
read -p "Should a Prometheus exporter be included? (y/n): " prometheus_exporter
|
||||
@ -80,6 +79,22 @@ then
|
||||
while [[ ! $prometheus_exporter_optimization =~ ^(y|n)$ ]]; do
|
||||
read -p "Choice (y/n): " prometheus_exporter_optimization
|
||||
done
|
||||
|
||||
if [ "$recording" == "y" ]
|
||||
then
|
||||
|
||||
remove_old_recording=""
|
||||
while [[ ! $remove_old_recording =~ ^(y|n)$ ]]; do
|
||||
read -p "Should old recordings be removed? (y/n): " remove_old_recording
|
||||
done
|
||||
|
||||
if [ "$remove_old_recording" == "y" ]
|
||||
then
|
||||
recording_max_age_days=""
|
||||
while [[ ! $recording_max_age_days =~ ^[0-9]{1,4}$ ]]; do
|
||||
read -p "Please enter max age(days) for keeping recordings: " recording_max_age_days
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
ip_correct=""
|
||||
@ -134,6 +149,12 @@ then
|
||||
sed -i "s/#ENABLE_RECORDING.*/ENABLE_RECORDING=true/" .env
|
||||
fi
|
||||
|
||||
if [ "$remove_old_recording" == "y" ]
|
||||
then
|
||||
sed -i "s/#REMOVE_OLD_RECORDING=.*/REMOVE_OLD_RECORDING=true/" .env
|
||||
sed -i "s/#RECORDING_MAX_AGE_DAYS=.*/RECORDING_MAX_AGE_DAYS=$recording_max_age_days/" .env
|
||||
fi
|
||||
|
||||
if [ "$coturn" == "y" ]
|
||||
then
|
||||
sed -i "s/.*TURN_SERVER=.*/TURN_SERVER=turns:$DOMAIN:5349?transport=tcp/" .env
|
||||
|
Loading…
Reference in New Issue
Block a user