Repository Index: Generate an index.yaml in ./docx/helm-repo/index.yaml to allow for browsertrix to be a helm repository. docs: rename docs.browsertrix.cloud -> docs.browsertrix.com docs: update deployment doc to mention helm repo as preferred way to install docs build action: generate repository index in GH action publish action: update auto-generated message to mention installing from the repo. --------- Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
1.9 KiB
K3S
Playbook Path: ansible/playbooks/install_k3s.yml
This playbook provides an easy way to install Browsertrix on a Linux box (tested on Rocky Linux 9). It automatically sets up Browsertrix with Let's Encrypt 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 SSH is working, with a sudo user:
#!shell ssh your-user@your-domain
- Install Ansible on your local machine (the control machine).
- Clone the repo:
git clone https://github.com/webrecorder/browsertrix.git
cd browsertrix
- Optional: Create a copy of the [inventory directory] and name it what you like (alternatively edit the sample files in place)
cp -r ansible/inventory/sample-k3s ansible/inventory/my-deployment
-
Look at the configuration options and modify them to match your setup
-
Change the hosts IP address in your just created inventory
-
You may need to make modifications to the playbook itself based on your configuration. The playbook lists sections that can be removed or changed based on whether you'd like to install a multi-node or single-node k3s installation for your Browsertrix deployment. By default the playbook assumes you'll run in a single-node environment deploying directly to
localhost
-
Run the playbook:
ansible-playbook -i inventory/my-deployment/hosts.ini install_k3s.yml
Upgrading
-
Run
git pull
-
Run the playbook:
ansible-playbook -i inventory/hosts install_k3s.yml -t helm_upgrade