GithubHelp home page GithubHelp logo

fischerscode / bbb-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigbluebutton/docker

0.0 0.0 0.0 99 KB

Docker files for BigBluebutton

License: GNU Lesser General Public License v3.0

Shell 86.86% Dockerfile 13.14%

bbb-docker's Introduction

BigBlueButton Docker

1. Install docker-ce

This container depends on docker-ce.

1 - Make sure you don't have docker installed: sudo apt-get remove docker docker-engine docker.io

2 - Install docker-ce:

sudo apt-get update;
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common;

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

sudo apt-get update

sudo apt-get install docker-ce

sudo addgroup `whoami` docker

2. Clone this repository

mkdir -p ~/bbb/src/
cd ~/bbb/
git clone https://github.com/bigbluebutton/docker.git
cd docker
git checkout v2.3.x

3. Clone BBB sources repository (optional)

cd ~/bbb/src/
git clone https://github.com/bigbluebutton/bigbluebutton.git

4. Setup SSL certificate

Generate a certificate to your container (using letsencrypt or other solution) and then copy your certificate to certs/ folder with the commands:

mkdir certs/
cp fullchain.pem certs/
cp privkey.pem certs/

5. Creating container

In order to create the container you must specify the hostname of container and the domain name.

In this example your container will be acessible from https://bbb001.bbbvm.imdt.com.br :

docker-compose build bbb
NAME=bbb001 DOMAIN=bbbvm.imdt.com.br sh -c 'docker-compose run --name $NAME bbb'

6. Add an entry in your /etc/hosts file

In order to access the container, you need to get the IP address of container by running the following command:

docker exec -it bbb001 ifconfig eth0

After that, add a line in your /etc/hosts file with the full domain name specified at previous step.

In this example, the line added on hosts file is:

172.20.0.2      bbb001.bbbvm.imdt.com.br

7. Open the specified address in your browser:

http://bbb001.bbbvm.imdt.com.br

Useful commands

Start container (after host reboot)

docker start bbb001
docker attach bbb001

Stop the container

docker stop bbb001

Kill the container (force exit)

docker kill bbb001

MAC users

Docker for Mac OS doesn't allow direct access to container IP's.

In order to access the BBB container from your MAC os host, you can use openvpn:

  1. Build containers:
docker-compose build mac_proxy mac_openvpn
  1. Start containers
docker-compose up mac_proxy mac_openvpn

After it finishes ( until it shows "Initialization Sequence Completed" ), hit CTRL+C.

  1. Add comp-lzo no at bottom of mac-vpn/docker-for-mac.ovpn

  2. Install openvpn configuration generated on mac-vpn/docker-for-mac.ovpn (double click and open on Tunnelblick)

  3. Start containers again

docker-compose up mac_proxy mac_openvpn

bbb-docker's People

Contributors

bruckwubete avatar capilkey avatar ffdixon avatar joshua-arts avatar tainan404 avatar tiagojacobs avatar vitormateusalmeida avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.