diff --git a/.gitignore b/.gitignore index 82d8eec..4eced3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,14 @@ +# IDEA generated +.idea + +# OS generated +.DS_Store +.AppleDouble + +# Tmp files +*.swp +*.log + +# App generated .env postgres-data diff --git a/mod/recordings/Dockerfile b/mod/recordings/Dockerfile index 89ccae2..5f7f5c2 100644 --- a/mod/recordings/Dockerfile +++ b/mod/recordings/Dockerfile @@ -73,12 +73,20 @@ RUN cd /usr/bin \ && touch /var/log/bigbluebutton/bbb-web.log # 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 +# 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 ADD log-collector.py /log-collector.py ADD entrypoint.sh /entrypoint.sh + +# change user before entrypoint +# to set user rights for all generated videos +USER bigbluebutton + ENTRYPOINT dockerize \ -template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \ /entrypoint.sh \ No newline at end of file diff --git a/mod/recordings/bigbluebutton.yml b/mod/recordings/bigbluebutton.yml index c20328a..78c7c10 100644 --- a/mod/recordings/bigbluebutton.yml +++ b/mod/recordings/bigbluebutton.yml @@ -1,4 +1,4 @@ -bbb_version: '2.2.23' +bbb_version: '2.2.30' raw_audio_src: /var/freeswitch/meetings raw_video_src: /usr/share/red5/webapps/video/streams kurento_video_src: /var/kurento/recordings