add info on how to backup the database to a GCP bucket to the readme file

This commit is contained in:
Daniel Omar Vergara Pérez
2024-10-23 23:50:13 -06:00
parent be56c76fa0
commit 0e45342bf0

View File

@@ -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.