Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions litefs/disaster-recovery.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,15 @@ First, you'll need to add `consul` in your image. Connect to your primary node v
install it there. Here's how to install it:

```sh
# For debian/ubuntu-based images
# For debian/ubuntu-based images before bookworm
apt-get install consul

# From official source:
# https://developer.hashicorp.com/consul/install?product_intent=consul#Linux
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list
apt update && apt install consul

# For alpine-based images
apk add consul
```
Expand Down Expand Up @@ -187,4 +193,4 @@ with the region you'd like to run your new replica in):

```sh
fly machines clone --select --region ord
```
```