2018-07-20 21:08:47 +02:00
# BigBlueButton Docker
2017-10-27 21:01:25 +02:00
2020-06-22 23:57:59 +02:00
## Features
- Easy installation
- Greenlight included
- TURN server included
- Fully automated HTTPS certificates
- Runs on almost any major linux distributon (Debian, Ubuntu, CentOS,...)
2020-04-12 16:02:14 +02:00
## Install
1. Install docker-ce & docker-compose
1. follow instructions
* Debian: https://docs.docker.com/engine/install/debian/
* CentOS: https://docs.docker.com/engine/install/centos/
* Fedora: https://docs.docker.com/engine/install/fedora/
* Ubuntu: https://docs.docker.com/engine/install/ubuntu/
2. Ensure docker works with `$ docker run hello-world`
3. Install docker-compose: https://docs.docker.com/compose/install/
4. Ensure docker-compose works: `$ docker-compose --version`
5. Clone this repository
```sh
$ git clone --recurse-submodules https://github.com/alangecker/bigbluebutton-docker.git bbb-docker
$ cd bbb-docker
```
2020-06-06 14:39:54 +02:00
6. Run setup:
```bash
$ ./scripts/setup
```
7. Start containers:
```bash
$ ./scripts/compose up -d
```
8. If you use greenlight, you can create an admin account with:
```bash
$ ./scripts/compose exec greenlight bundle exec rake admin:create
```
2020-04-13 15:43:37 +02:00
2020-04-12 16:02:14 +02:00
## Note if you use a Firewall / NAT
Kurento binds somehow always to the external IP instead of the local one or `0.0.0.0` . For that reason you need to add your external IP to your interface.
##### Temporary way (until next reboot)
```
$ ip addr add 144.76.97.34/32 dev ens3
```
##### Permanent way
Specific to your linux distribution. Use a search engine of your choice. ;)
### Ports
Also don't forget to forward all necassary ports listed in http://docs.bigbluebutton.org/2.2/configure-firewall.html
2020-05-05 10:22:30 +02:00
## Upgrading
2020-05-17 11:06:28 +02:00
```bash
cd bbb-docker
2020-06-06 14:39:54 +02:00
# if you use greenlight:
2020-05-17 11:06:28 +02:00
# create a database backup
docker exec -t docker_postgres_1 pg_dumpall -c -U postgres > /root/greenlight_`date +%d-%m-%Y"_"%H_%M_%S`.sql
2020-05-06 10:37:39 +02:00
2020-06-06 14:39:54 +02:00
# upgrade!
./scripts/upgrade
2020-05-17 11:06:28 +02:00
2020-06-06 14:39:54 +02:00
# restart updated services
./scripts/compose up -d
2020-05-05 10:22:30 +02:00
```
2020-06-06 14:39:54 +02:00
If you're on an old version, you might get following error: \
`no such file or directory: ./scripts/upgrade` \
A simple `$ git pull` resolves that, by fetching a newer version which includes the upgrade script.
2020-05-17 11:06:28 +02:00
2020-05-16 17:03:04 +02:00
## 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.