added dependences to bbb init script

This commit is contained in:
jfederico
2021-09-17 16:45:45 -04:00
parent 390030bafc
commit 4d9dc1aded
3 changed files with 5 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ server {
include /etc/nginx/sites-common; include /etc/nginx/sites-common;
} }
location /static-resource { location /static-resource/ {
rewrite /static-resource(/|$)(.*) /$2 break; rewrite /static-resource(/|$)(.*) /$2 break;
proxy_pass http://docker-scalelite-recordings; proxy_pass http://docker-scalelite-recordings;
include /etc/nginx/sites-common; include /etc/nginx/sites-common;

View File

@@ -42,7 +42,7 @@ server {
include /etc/nginx/sites-common; include /etc/nginx/sites-common;
} }
location /static-resource { location /static-resource/ {
rewrite /static-resource(/|$)(.*) /$2 break; rewrite /static-resource(/|$)(.*) /$2 break;
proxy_pass http://docker-scalelite-recordings; proxy_pass http://docker-scalelite-recordings;
include /etc/nginx/sites-common; include /etc/nginx/sites-common;

View File

@@ -3,6 +3,9 @@
source ./.env source ./.env
SCALELITE_RECORDING_DIR=${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton} SCALELITE_RECORDING_DIR=${SCALELITE_RECORDING_DIR-/mnt/scalelite-recordings/var/bigbluebutton}
echo 'Add dependencies...'
apt-get install -y rsync
echo 'Add the bigbluebutton user...' echo 'Add the bigbluebutton user...'
id -u bigbluebutton &>/dev/null || useradd -m -d /home/bigbluebutton -s /bin/bash bigbluebutton id -u bigbluebutton &>/dev/null || useradd -m -d /home/bigbluebutton -s /bin/bash bigbluebutton
if [ ! -d "/home/bigbluebutton/.ssh" ]; then if [ ! -d "/home/bigbluebutton/.ssh" ]; then