From 0e45342bf0a500de07f87648c027e04be34bf53b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Omar=20Vergara=20P=C3=A9rez?= Date: Wed, 23 Oct 2024 23:50:13 -0600 Subject: [PATCH] add info on how to backup the database to a GCP bucket to the readme file --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 006f890..1a677e5 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,18 @@ AWS_BUCKET=your_bucket Replace `your_access_key_id`, `your_secret_access_key`, `your_region`, and `your_bucket` with your actual AWS credentials. +### GCP + +To back up your database to GCP, you'll need set up Application Default Credentials (ADC). There are many ways to do so and it varies on the environment you're running the relay on. Check out the [official documentation](https://cloud.google.com/docs/authentication/provide-credentials-adc) for more information. + +After authenticating to GCP, set the environment variable below in your `.env` file: + +```bash +GCP_BUCKET_NAME="backups" +``` + +Replace the name of the bucket accordingly. + ## License This project is licensed under the MIT License.