mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-11 16:28:18 +01:00
BBB v2.4-rc-7
This commit is contained in:
parent
ea5514c1b0
commit
14b0c085fb
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# 📦 BigBlueButton 2.4 Docker
|
# 📦 BigBlueButton 2.4 Docker
|
||||||
|
|
||||||
Version: 2.4-rc-5 | [Changelog](CHANGELOG.md) | [Issues](https://github.com/bigbluebutton/docker/issues)
|
Version: 2.4-rc-7 | [Changelog](CHANGELOG.md) | [Issues](https://github.com/bigbluebutton/docker/issues)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
- Easy installation
|
- Easy installation
|
||||||
|
@ -243,6 +243,8 @@ services:
|
|||||||
jodconverter:
|
jodconverter:
|
||||||
build: mod/jodconverter
|
build: mod/jodconverter
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
tmpfs:
|
||||||
|
- /tmp
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -3,7 +3,7 @@ FROM mozilla/sbt:8u212_1.2.8 AS builder
|
|||||||
RUN apt-get update && apt-get install -y subversion
|
RUN apt-get update && apt-get install -y subversion
|
||||||
|
|
||||||
# download bbb-common-message
|
# download bbb-common-message
|
||||||
ENV TAG_COMMON_MESSAGE v2.4-rc-5
|
ENV TAG_COMMON_MESSAGE v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
||||||
&& rm -rf /bbb-common-message/.svn
|
&& rm -rf /bbb-common-message/.svn
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ RUN cd /bbb-common-message \
|
|||||||
|
|
||||||
# ===================================================
|
# ===================================================
|
||||||
|
|
||||||
ENV TAG v2.4-rc-5
|
ENV TAG v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-apps /source \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-apps /source \
|
||||||
&& rm -rf /source/.svn
|
&& rm -rf /source/.svn
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ FROM mozilla/sbt:8u212_1.2.8 AS builder
|
|||||||
RUN apt-get update && apt-get install -y subversion
|
RUN apt-get update && apt-get install -y subversion
|
||||||
|
|
||||||
# download bbb-common-message
|
# download bbb-common-message
|
||||||
ENV TAG_COMMON_MESSAGE v2.4-rc-5
|
ENV TAG_COMMON_MESSAGE v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
||||||
&& rm -rf /bbb-common-message/.svn
|
&& rm -rf /bbb-common-message/.svn
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ RUN cd /opt \
|
|||||||
ENV PATH="/opt/gradle-6.7/bin:${PATH}"
|
ENV PATH="/opt/gradle-6.7/bin:${PATH}"
|
||||||
|
|
||||||
# download bbb-common-web
|
# download bbb-common-web
|
||||||
ENV TAG_COMMON_WEB v2.4-rc-5
|
ENV TAG_COMMON_WEB v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_WEB/bbb-common-web /bbb-common-web \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_WEB/bbb-common-web /bbb-common-web \
|
||||||
&& rm -rf /bbb-common-message/.svn
|
&& rm -rf /bbb-common-message/.svn
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ RUN cd /bbb-common-web \
|
|||||||
&& ./deploy.sh
|
&& ./deploy.sh
|
||||||
|
|
||||||
# download bbb-web
|
# download bbb-web
|
||||||
ENV TAG_WEB v2.4-rc-5
|
ENV TAG_WEB v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_WEB/bigbluebutton-web /bbb-web \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_WEB/bigbluebutton-web /bbb-web \
|
||||||
&& rm -rf /bbb-web/.svn
|
&& rm -rf /bbb-web/.svn
|
||||||
|
|
||||||
@ -77,10 +77,10 @@ RUN wget -q https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VE
|
|||||||
RUN mkdir -p /usr/share/bigbluebutton/blank \
|
RUN mkdir -p /usr/share/bigbluebutton/blank \
|
||||||
&& cd /usr/share/bigbluebutton/blank \
|
&& cd /usr/share/bigbluebutton/blank \
|
||||||
&& wget \
|
&& wget \
|
||||||
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-5/bigbluebutton-config/slides/blank-svg.svg \
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-7/bigbluebutton-config/slides/blank-svg.svg \
|
||||||
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-5/bigbluebutton-config/slides/blank-thumb.png \
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-7/bigbluebutton-config/slides/blank-thumb.png \
|
||||||
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-5/bigbluebutton-config/slides/blank-presentation.pdf \
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-7/bigbluebutton-config/slides/blank-presentation.pdf \
|
||||||
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-5/bigbluebutton-config/slides/blank-png.png \
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4-rc-7/bigbluebutton-config/slides/blank-png.png \
|
||||||
&& sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="write" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml
|
&& sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="write" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml
|
||||||
|
|
||||||
# get bbb-web
|
# get bbb-web
|
||||||
|
@ -7,17 +7,13 @@ RUN apt-get update \
|
|||||||
|
|
||||||
USER etherpad
|
USER etherpad
|
||||||
|
|
||||||
# only used to trigger a fresh run of the npm install
|
|
||||||
# command without caching
|
|
||||||
ENV TAG v2.4-rc-5
|
|
||||||
|
|
||||||
# ep_cursortrace: using mconf's fork due to https://github.com/ether/ep_cursortrace/pull/25 not being accepted upstream
|
# ep_cursortrace: using mconf's fork due to https://github.com/ether/ep_cursortrace/pull/25 not being accepted upstream
|
||||||
RUN npm install \
|
RUN npm install \
|
||||||
git+https://github.com/mconf/ep_cursortrace.git \
|
git+https://github.com/mconf/ep_cursortrace.git#v3.1.8 \
|
||||||
git+https://git@github.com/pedrobmarin/ep_pad_ttl.git \
|
git+https://github.com/pedrobmarin/ep_pad_ttl.git#360136cd38493dd698435631f2373cbb7089082d \
|
||||||
git+https://git@github.com/pedrobmarin/ep_redis_publisher.git \
|
git+https://github.com/pedrobmarin/ep_redis_publisher.git#ed7d8af49876757559ef9d7c8970665c08445d4b \
|
||||||
git+https://git@github.com/ether/ep_disable_chat.git \
|
git+https://github.com/ether/ep_disable_chat.git#v0.0.3 \
|
||||||
git+https://github.com/ether/ep_sticky_attributes.git \
|
git+https://github.com/ether/ep_sticky_attributes.git#v0.1.9 \
|
||||||
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
|
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
|
||||||
&& rm package-lock.json
|
&& rm package-lock.json
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ FROM mozilla/sbt:8u212_1.2.8 AS builder
|
|||||||
RUN apt-get update && apt-get install -y subversion
|
RUN apt-get update && apt-get install -y subversion
|
||||||
|
|
||||||
# download bbb-common-message
|
# download bbb-common-message
|
||||||
ENV TAG_COMMON_MESSAGE v2.4-rc-5
|
ENV TAG_COMMON_MESSAGE v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
||||||
&& rm -rf /bbb-common-message/.svn
|
&& rm -rf /bbb-common-message/.svn
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ RUN cd /bbb-common-message \
|
|||||||
|
|
||||||
|
|
||||||
# ===================================================
|
# ===================================================
|
||||||
ENV TAG_FSESL v2.4-rc-5
|
ENV TAG_FSESL v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_FSESL/bbb-fsesl-client /bbb-fsesl-client \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_FSESL/bbb-fsesl-client /bbb-fsesl-client \
|
||||||
&& rm -rf /bbb-fsesl-client/.svn
|
&& rm -rf /bbb-fsesl-client/.svn
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ RUN cd /bbb-fsesl-client \
|
|||||||
&& ./deploy.sh
|
&& ./deploy.sh
|
||||||
|
|
||||||
|
|
||||||
ENV TAG v2.4-rc-5
|
ENV TAG v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-fsesl /source \
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-fsesl /source \
|
||||||
&& rm -rf /source/.svn
|
&& rm -rf /source/.svn
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ USER meteor
|
|||||||
ENV METEOR_VERSION 2.5
|
ENV METEOR_VERSION 2.5
|
||||||
RUN curl -sL https://install.meteor.com?release=$METEOR_VERSION | sed s/--progress-bar/-sL/g | /bin/sh
|
RUN curl -sL https://install.meteor.com?release=$METEOR_VERSION | sed s/--progress-bar/-sL/g | /bin/sh
|
||||||
|
|
||||||
ENV TAG v2.4-rc-5
|
ENV TAG v2.4-rc-7
|
||||||
RUN cd ~ \
|
RUN cd ~ \
|
||||||
&& svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/bigbluebutton-html5 \
|
&& svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/bigbluebutton-html5 \
|
||||||
&& mv ~/bigbluebutton-html5 ~/source \
|
&& mv ~/bigbluebutton-html5 ~/source \
|
||||||
@ -41,4 +41,4 @@ COPY bbb-html5.yml /app/bbb-html5.yml.tmpl
|
|||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
# lets set the tag again, so that it is include in the image for later version retrieval
|
# lets set the tag again, so that it is include in the image for later version retrieval
|
||||||
ENV TAG v2.4-rc-5
|
ENV TAG v2.4-rc-7
|
||||||
|
@ -28,3 +28,6 @@ replication:
|
|||||||
|
|
||||||
setParameter:
|
setParameter:
|
||||||
diagnosticDataCollectionEnabled: false
|
diagnosticDataCollectionEnabled: false
|
||||||
|
|
||||||
|
security:
|
||||||
|
javascriptEnabled: false
|
||||||
|
@ -4,7 +4,7 @@ RUN apk add subversion git
|
|||||||
|
|
||||||
# --------------------
|
# --------------------
|
||||||
|
|
||||||
ENV TAG_LEARNING_DASHBOARD v2.4-rc-5
|
ENV TAG_LEARNING_DASHBOARD v2.4-rc-7
|
||||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_LEARNING_DASHBOARD/bbb-learning-dashboard /bbb-learning-dashboard && rm -r /bbb-learning-dashboard/.svn
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_LEARNING_DASHBOARD/bbb-learning-dashboard /bbb-learning-dashboard && rm -r /bbb-learning-dashboard/.svn
|
||||||
RUN cd /bbb-learning-dashboard && npm ci && npm run build
|
RUN cd /bbb-learning-dashboard && npm ci && npm run build
|
||||||
|
|
||||||
|
4
mod/nginx/bbb/loadbalancer.nginx
Normal file
4
mod/nginx/bbb/loadbalancer.nginx
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# If you run this BBB node behind a proxy loadbalancer set the hostname of
|
||||||
|
# the loadbalancer here. This will be used to add CORS headers so requesting
|
||||||
|
# slides and API calls won't fail
|
||||||
|
set $bbb_loadbalancer_node '';
|
@ -22,20 +22,32 @@
|
|||||||
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/svg\/(?<page_num>\d+)$ {
|
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/svg\/(?<page_num>\d+)$ {
|
||||||
default_type image/svg+xml;
|
default_type image/svg+xml;
|
||||||
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/svgs/slide$page_num.svg;
|
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/svgs/slide$page_num.svg;
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/slide\/(?<page_num>\d+)$ {
|
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/slide\/(?<page_num>\d+)$ {
|
||||||
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/slide-$page_num.swf;
|
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/slide-$page_num.swf;
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/thumbnail\/(?<page_num>\d+)$ {
|
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/thumbnail\/(?<page_num>\d+)$ {
|
||||||
default_type image/png;
|
default_type image/png;
|
||||||
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/thumbnails/thumb-$page_num.png;
|
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/thumbnails/thumb-$page_num.png;
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/textfiles\/(?<page_num>\d+)$ {
|
location ~^\/bigbluebutton\/presentation\/(?<meeting_id_1>[A-Za-z0-9\-]+)\/(?<meeting_id_2>[A-Za-z0-9\-]+)\/(?<pres_id>[A-Za-z0-9\-]+)\/textfiles\/(?<page_num>\d+)$ {
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/textfiles/slide-$page_num.txt;
|
alias /var/bigbluebutton/$meeting_id_2/$meeting_id_2/$pres_id/textfiles/slide-$page_num.txt;
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,16 +9,32 @@
|
|||||||
|
|
||||||
# Workaround IE refusal to set cookies in iframe
|
# Workaround IE refusal to set cookies in iframe
|
||||||
add_header P3P 'CP="No P3P policy available"';
|
add_header P3P 'CP="No P3P policy available"';
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
location ~ "^\/bigbluebutton\/presentation\/(?<prestoken>[a-zA-Z0-9_-]+)/upload$" {
|
location ~ "^\/bigbluebutton\/presentation\/(?<prestoken>[a-zA-Z0-9_-]+)/upload$" {
|
||||||
|
# Grails can't handle CORS OPTION preflight requests correctly -> lets do this in nginx
|
||||||
|
if ($request_method = 'OPTIONS') {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||||
|
add_header 'Content-Type' 'text/plain; charset=utf-8';
|
||||||
|
add_header 'Content-Length' 0;
|
||||||
|
return 204;
|
||||||
|
}
|
||||||
proxy_pass http://bbb-web:8090;
|
proxy_pass http://bbb-web:8090;
|
||||||
proxy_redirect default;
|
proxy_redirect default;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
# Workaround IE refusal to set cookies in iframe
|
# Workaround IE refusal to set cookies in iframe
|
||||||
add_header P3P 'CP="No P3P policy available"';
|
add_header P3P 'CP="No P3P policy available"';
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||||
|
}
|
||||||
|
|
||||||
# high limit for presentation as bbb-web will reject upload if larger than configured
|
# high limit for presentation as bbb-web will reject upload if larger than configured
|
||||||
client_max_body_size 1000m;
|
client_max_body_size 1000m;
|
||||||
@ -57,6 +73,9 @@
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
# Workaround IE refusal to set cookies in iframe
|
# Workaround IE refusal to set cookies in iframe
|
||||||
add_header P3P 'CP="No P3P policy available"';
|
add_header P3P 'CP="No P3P policy available"';
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /bigbluebutton/presentation/checkPresentation {
|
location = /bigbluebutton/presentation/checkPresentation {
|
||||||
@ -102,6 +121,9 @@
|
|||||||
location ~ "^/bigbluebutton\/textTrack\/(?<textTrackToken>[a-zA-Z0-9]+)\/(?<recordId>[a-zA-Z0-9_-]+)\/(?<textTrack>.+)$" {
|
location ~ "^/bigbluebutton\/textTrack\/(?<textTrackToken>[a-zA-Z0-9]+)\/(?<recordId>[a-zA-Z0-9_-]+)\/(?<textTrack>.+)$" {
|
||||||
# Workaround IE refusal to set cookies in iframe
|
# Workaround IE refusal to set cookies in iframe
|
||||||
add_header P3P 'CP="No P3P policy available"';
|
add_header P3P 'CP="No P3P policy available"';
|
||||||
|
if ($bbb_loadbalancer_node) {
|
||||||
|
add_header 'Access-Control-Allow-Origin' $bbb_loadbalancer_node always;
|
||||||
|
}
|
||||||
|
|
||||||
# Allow 30M uploaded presentation document.
|
# Allow 30M uploaded presentation document.
|
||||||
client_max_body_size 30m;
|
client_max_body_size 30m;
|
||||||
|
@ -1,14 +1,22 @@
|
|||||||
location /bbb-webrtc-sfu {
|
location /bbb-webrtc-sfu {
|
||||||
|
auth_request /bigbluebutton/connection/checkAuthorization;
|
||||||
|
auth_request_set $auth_status $upstream_status;
|
||||||
|
# Extra variables are annotated by bbb-web as custom headers
|
||||||
|
auth_request_set $user_id $sent_http_user_id;
|
||||||
|
auth_request_set $meeting_id $sent_http_meeting_id;
|
||||||
|
auth_request_set $voice_bridge $sent_http_voice_bridge;
|
||||||
|
|
||||||
proxy_pass http://webrtc-sfu:3008;
|
proxy_pass http://webrtc-sfu:3008;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
# Following custom headers are used by bbb-webrtc-sfu
|
||||||
|
proxy_set_header User-Id $user_id;
|
||||||
|
proxy_set_header Meeting-Id $meeting_id;
|
||||||
|
proxy_set_header Voice-Bridge $voice_bridge;
|
||||||
proxy_read_timeout 6h;
|
proxy_read_timeout 6h;
|
||||||
proxy_send_timeout 6h;
|
proxy_send_timeout 6h;
|
||||||
client_body_timeout 6h;
|
client_body_timeout 6h;
|
||||||
send_timeout 6h;
|
send_timeout 6h;
|
||||||
|
|
||||||
auth_request /bigbluebutton/connection/checkAuthorization;
|
|
||||||
auth_request_set $auth_status $upstream_status;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ RUN mkdir -p \
|
|||||||
/usr/local/bigbluebutton/core \
|
/usr/local/bigbluebutton/core \
|
||||||
/etc/bigbluebutton
|
/etc/bigbluebutton
|
||||||
|
|
||||||
ENV TAG v2.4-rc-5
|
ENV TAG v2.4-rc-7
|
||||||
|
|
||||||
# add bbb-record-core (lib, scripts and Gemfile)
|
# add bbb-record-core (lib, scripts and Gemfile)
|
||||||
RUN cd /usr/local/bigbluebutton/core \
|
RUN cd /usr/local/bigbluebutton/core \
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit c33878c89e5f4486ca980086e814491ece436e1c
|
Subproject commit 4e0fa6bf8ffc1bb8fbbe4fe9843651331e018188
|
Loading…
Reference in New Issue
Block a user