umutcetinkaya / bbb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How I Create BigBlueButton 2.0 beta's container with docker-compose.

Update the domain certificate files:

Overwrite domain's certifcate files in this working directory:

fullchain.pem
privkey.pem

or create a softlink something like below:

ln -vsf /etc/ssl/your-domain/fullchain.pem fullchain.pem

make sure two file are executable.

chmod 700 setup.sh config.sh

Please using domain name instead of ip address.

./config.sh <Your domain>

Check the result by

git diff

Rollback changs to last commit:(or rollback, if something wrong happens)

git checkout -- .

Create your bigbluebutton container.

docker-compose up -d

Wait for startup or issue the following command to check out

the bbb is container's service name.

docker-compose logs -f
docker-compose exec bbb netstat -ntlp

Add a nginx proxy on your host

 server {
      listen 443 ssl http2;
      listen [::]:443 ssl http2;

      resolver 168.95.192.1 192.168.1.1;
      set $backend "https://<your-domain>:10443";

      server_name <your-domain>;

      ssl_certificate /etc/nginx/ssl/fullchain.pem;

      ssl_certificate_key /etc/nginx/ssl/privkey.pem;

      add_header Strict-Transport-Security "max-age=15768000; includeSubdomains; preload" always;

  location /ws {
          proxy_pass https://<your-domain>:7443;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "Upgrade";
          proxy_read_timeout 6h;
          proxy_send_timeout 6h;
          client_body_timeout 6h;
          send_timeout 6h;
  }

      location / {
          proxy_set_header        Host                $http_host;
          proxy_set_header        X-Real-IP           $remote_addr;
          proxy_set_header        X-Forwarded-For     $proxy_add_x_forwarded_for;
          proxy_set_header        X-Forwarded-Proto   $scheme;
          proxy_intercept_errors  on;
          proxy_http_version      1.1;

          proxy_pass $backend;

      }

  }

Others

You can see the secret

docker-compose exec bbb bbb-conf --secret

Enter the container:

docker-compose exec bbb bash

You have to startup nginx manually if your centificate's key have password protected

docker-compose exec bbb nginx
Enter PEM pass phrase:
root@bbb:~/bbb#

Change the shared secret

Salt which is used by 3rd-party apps to authenticate api calls

securitySalt=a6fe48d5f7eda7a344181719a8c75da8

bigbluebutton.properties

This is the security salt that must match the value set in the BigBlueButton server

String salt = "a6fe48d5f7eda7a344181719a8c75da8";

bbb_api_conf.jsp

About


Languages

Language:Shell 97.7%Language:Java 2.3%