Merge pull request #82 from cardinalit/v2.2.x

Fix when presentation after recording unable to delete and change access rights
This commit is contained in:
chandi 2020-12-22 00:49:08 +01:00 committed by GitHub
commit 5f8ebb4458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 2 deletions

12
.gitignore vendored
View File

@ -1,2 +1,14 @@
# IDEA generated
.idea
# OS generated
.DS_Store
.AppleDouble
# Tmp files
*.swp
*.log
# App generated
.env .env
postgres-data postgres-data

View File

@ -73,12 +73,20 @@ RUN cd /usr/bin \
&& touch /var/log/bigbluebutton/bbb-web.log && touch /var/log/bigbluebutton/bbb-web.log
# create user # create user
# the ID should matcht the one creating the files in `core` # the ID should match the one creating the files in `core`
RUN groupadd -g 998 bigbluebutton && useradd -m -u 998 -g bigbluebutton bigbluebutton RUN groupadd -g 998 bigbluebutton && useradd -m -u 998 -g bigbluebutton bigbluebutton
# change owner
# https://github.com/alangecker/bigbluebutton-docker/issues/63
RUN chown -R 998:998 /usr/local/bigbluebutton /var/log/bigbluebutton
COPY bigbluebutton.yml /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl COPY bigbluebutton.yml /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl
ADD log-collector.py /log-collector.py ADD log-collector.py /log-collector.py
ADD entrypoint.sh /entrypoint.sh ADD entrypoint.sh /entrypoint.sh
# change user before entrypoint
# to set user rights for all generated videos
USER bigbluebutton
ENTRYPOINT dockerize \ ENTRYPOINT dockerize \
-template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \ -template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \
/entrypoint.sh /entrypoint.sh

View File

@ -1,4 +1,4 @@
bbb_version: '2.2.23' bbb_version: '2.2.30'
raw_audio_src: /var/freeswitch/meetings raw_audio_src: /var/freeswitch/meetings
raw_video_src: /usr/share/red5/webapps/video/streams raw_video_src: /usr/share/red5/webapps/video/streams
kurento_video_src: /var/kurento/recordings kurento_video_src: /var/kurento/recordings