Skip to content

Terraform template and instructions to run Jitsi on digitalocean.com

License

Notifications You must be signed in to change notification settings

sventropy/digitalocean-jitsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jitsi on Digitalocean with Terraform

This project contains the terraform template and instructions to run Jitsi on digitalocean.com

Prerequisites

  1. Create an account on digitalocean.com (if you don't have one)
  2. Create an access key for that digialocean account
  3. Install terraform
  4. Check the configuration in main.tf, as there are several values hard-coded here, e.g. size small for the ubuntu 18.04 image, Frankfurt as datacenter region, project and droplet names

Setup steps

  1. Run cp .env.example .env and enter your digital ocean access key to .env
  2. Run cp main.tfvars.example main.tfvars and enter your ssh key public and private file path and your target hostname for which you want to configure an alias (A) DNS record to the Jitsi server later
  3. Run make create. This will deploy the SSH public key and create a project and a single droplet running Ubuntu, plus adding the package sources for jitsi-meet.
  4. Copy the IP address of the droplet from the digital ocean dashboard and paste it to the .env file
    • Optional: Setup an alias record (A) with your registrar for the chose TARGET_URL and IP address
  5. Run env $(cat .env | xargs) make connect and execute the following commands after the ssh session is established
sudo apt-get -y install jitsi-meet
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

⚠️ Unfortunately, I did not figure out a way to tell the jitsi-meet package, about the hostname it should use. Hence the manual steps in 5. See the jetsi-meet install instructions for more info.

Feedback

Any feedback is welcome. You can find everything you need to know to reach me on hennessen.net and Twitter

Cheers!

About

Terraform template and instructions to run Jitsi on digitalocean.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published