Skip to content

41north/jitsi-do

Repository files navigation

Jitsi Digital Ocean

Terraform recipe for running Jitsi on DigitalOcean.

Running

Clone this repository:

$ git clone https://github.com/41north/jitsi-do

Make sure you have installed Terraform on your system.

Rename terraform.tfvars.example to terraform.tfvars and fill the variables with your information. At least, you need to provide the following:

variable "do_token" {
  default     = ""
  description = "Digital Ocean API Key: https://www.digitalocean.com/community/tutorials/how-to-create-a-digitalocean-space-and-api-key"
}

variable "domain" {
  default     = ""
  description = "Which domain is used by Jitsi."
}

variable "ssh_key_name" {
  default     = ""
  description = "Name of the SSH Digital Ocean keys to allow remote access to the droplet."
}

After everything is correctly filled, initialize terraform:

$ terraform init

And to review what is going to be created:

$ terraform plan

Once you're happy just trigger the fire button:

$ terraform apply

By default it will auto-install jitsi but it won't perform automatic SSL generation with Let's Encrypt. The reason is to control manually when to perform that step:

$ ssh -i .ssh/${your_ssh_key} root@${your_droplet_ip}

And run the following (replace $EMAIL with your email):

$ echo $EMAIL | /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

If everything goes well and the certification is created correctly, you can navigate to your domain and be greeted with Jitsi's dashboard!

Au revoir, Zoom! :)

Acknowledgements

Inspired by Terraform AWS Jitsi Meet for AWS.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

Deploy Jitsi Meet to DigitalOcean with Terraform

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published