diff --git a/README.md b/README.md index d0f65f3..6016e3b 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,32 @@ Now, the scalelite server is running, but it is not quite yet ready. The databas ``` docker exec -i scalelite-api bundle exec rake db:setup ``` + +The BBB servers must be added. + +``` +docker exec -i scalelite-api bundle exec rake servers:add[https://bbb25.example.com/bigbluebutton/api,secret] +docker exec -i scalelite-api bundle exec rake servers:enable[bbb25.example.com] +``` + +## Generate LetsEncrypt SSL certificates manually + +Depending on if you want to use Multitenancy or not this can be done differently. +If you only need one domain (e.g. sl.example.com) you can use the `init-letsencrypt.sh` script, that's included in this repo + +If you want to setup SSL with Multitenancy, you will need a wildcard certificate. In this documentation I will use DNS challenge with Cloudflare. +For this, first get a API token from Cloudflare: [https://dash.cloudflare.com/profile/api-tokens](https://dash.cloudflare.com/profile/api-tokens) +Click "Create token" and use "Edit zone DNS" as a template. Under "Zone Resources" you can now choose your domain. + +After you got your API token, create a file the file `/etc/letsencrypt/cloudflare.ini` with the following: +``` +# Cloudflare API token used by Certbot +dns_cloudflare_api_token = your-secure-token +``` +Set the permissions: `chmod 600 /etc/letsencrypt/cloudflare.ini` +Now we can use that file to create the wildcard certificate: + +``` +certbot certonly -d *.sl.example.com --dns-cloudflare --dns-cloudflare-credentials /etc/letsencrypt/cloudflare.ini --dns-cloudflare-propagation-seconds 60 +``` + diff --git a/dotenv b/dotenv index 9724b0b..98376e0 100644 --- a/dotenv +++ b/dotenv @@ -45,7 +45,7 @@ URL_HOST= # SCALELITE_TAG=v1 # ### Required when when specific repo or version (other than defaults) are needed -SCALELITE_DOCKER_IMAGE=blindsidenetwks/scalelite:v1.6.11 +SCALELITE_DOCKER_IMAGE=blindsidenetwks/scalelite:v1.7.1 # ### Required when recordings are enabled and using BigBlueButton Playback Proxy to serve the recordings. SCALELITE_RECORDINGS_DOCKER_IMAGE=bigbluebutton/bbb-playback-proxy:jammy-300-alpine