mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2025-12-16 14:22:11 +01:00
added dependences to bbb init script
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user