From 01c7de4beff6e400cd1c5744dc78911dc86911ad Mon Sep 17 00:00:00 2001 From: chandi Date: Sat, 16 May 2020 15:54:48 +0200 Subject: [PATCH 1/2] core: fix volume permissions on runtime. it led once to permission issues where the UID changed after rebuild. --- mod/core/Dockerfile | 2 -- mod/core/entrypoint.sh | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/core/Dockerfile b/mod/core/Dockerfile index 381c04d..7778251 100644 --- a/mod/core/Dockerfile +++ b/mod/core/Dockerfile @@ -58,8 +58,6 @@ RUN find /etc/systemd/ | grep wants | xargs -r -n 1 basename | grep service | gr RUN systemctl disable systemd-journal-flush systemd-update-utmp.service RUN systemctl enable red5 freeswitch bbb-apps-akka bbb-transcode-akka bbb-fsesl-akka bbb-web # bbb-rap-caption-inbox -# -- fix directory permissions -RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton COPY entrypoint.sh /entrypoint.sh diff --git a/mod/core/entrypoint.sh b/mod/core/entrypoint.sh index 516c39d..28c4428 100755 --- a/mod/core/entrypoint.sh +++ b/mod/core/entrypoint.sh @@ -15,6 +15,8 @@ mkdir -p /var/bigbluebutton/published mkdir -p /var/bigbluebutton/deleted mkdir -p /var/bigbluebutton/unpublished +# -- fix directory permissions +RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton dockerize \ -template /opt/freeswitch/conf/vars.xml.tmpl:/opt/freeswitch/conf/vars.xml \ From ce3e387e05b05c9b5f9fa4ff5c264709bfef9b0e Mon Sep 17 00:00:00 2001 From: chandi Date: Sat, 16 May 2020 17:03:04 +0200 Subject: [PATCH 2/2] updated README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index acc8725..e12b456 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ 6. Create `.env` with `$ cp sample.env .env` 7. Adjust the values in `.env` - **Important:** don't forget to change `ETHERPAD_API_KEY`, `SHARED_SECRET` and `RAILS_SECRET` to any random values! For example generated with `pwgen 40 3` - - `DOMAIN` and `EXTERNAL_IP` are also required + - `DOMAIN` and `EXTERNAL_IP` are also required. For example, use `dig +short ` to get your external ip address. 8. Start container. either... - **Most common setup**: BigBlueButton with automatic HTTPS certificate retrieval and Greenlight ```bash @@ -83,8 +83,16 @@ docker-compose up -d # greenlight & https image updates ``` +## Special thanks to +- @dkrenn, whos dockerized version (bigbluebutton#8858)(https://github.com/bigbluebutton/bigbluebutton/pull/8858) helped me a lot in understand and some configs. + ## Open Tasks - add support for recording - add coturn support - further separate bbb-core into individual container - +- enable IPv6 support +- fix captions (they don't appear, `readOnlyPadId` is missing) +- switch to `node:12-buster-slim` for `html5` +- switch to `node:12-buster-slim` for `webrtc-sfu` +- drop root privileges in `webrtc-sfu` +- drop root privileges in `kurento`