browsertrix/docs/deploy/ansible/microk8s.md
Francis Kayiwa b0f1379e42
add digital ocean documentation (#421)
* add digital ocean documentation

* remove microk8s role

* use a single playbook to install microk8s

* use inventory hostname

* use a host_ip for endpoint so not to clash with domain

* add RedHat control loops

* add microk8s documentation

* enable permissive mode for redhat
2023-01-11 21:57:17 -08:00

1.3 KiB

Microk8s

This provides an easy way to install BrowserTrix Cloud on an ubuntu (tested on Jammy Jellyfish) and a RedHat 9 (tested on Rocky Linux 9). It automatically sets up BrowserTrix with, letsencrypt certificates.

Requirements

To run this ansible playbook, you need to:

  • Have a server / VPS where browsertrix will run.
  • Configure a DNS A Record to point at your server's IP address.
  • Make sure you can ssh to it, with a sudo user: ssh @
  • Install Ansible on your local machine (the control machine).

Install

Clone the repo:

git clone https://github.com/webrecorder/browsertrix-cloud.git
cd browsertrix-cloud

Look at the configuration options

and modify them or pass them as extra variables as shown below.

Add your IP address above to a new file called [inventory/hosts]

Run the playbook:

ansible-playbook -i inventory/hosts playbooks/install_microk8s.yml -e host_ip="1.2.3.4" -e domain_name="yourdomain.com" -e your_user="your_vps_admin_user"

Upgrading

  • Run git pull
  • Run the playbook:
ansible-playbook -i inventory/hosts playbooks/install_microk8s.yml -e host_ip="1.2.3.4" -e domain_name="yourdomain.com" -t helm_upgrade