Terraform recipe for running Jitsi on DigitalOcean.
Clone this repository:
$ git clone https://github.com/41north/jitsi-doMake 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 initAnd to review what is going to be created:
$ terraform planOnce you're happy just trigger the fire button:
$ terraform applyBy 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.shIf 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! :)
Inspired by Terraform AWS Jitsi Meet for AWS.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.