docs: update Cloudflare R2 instructions

This commit is contained in:
Gökay Gürcan
2025-05-07 00:47:20 +02:00
committed by GitHub
parent ebb1e0d53d
commit 0f71b6f755

View File

@@ -6,19 +6,21 @@ description: 'Configure R2 buckets for backup storage. This includes setting up
Cloudflare is a popular choice for hosting static assets, such as images, videos, and documents. It is a cloud-based service that allows you to store and retrieve data from anywhere in the world. This is a great option for storing backups, as it is easy to set up and manage. Cloudflare is a popular choice for hosting static assets, such as images, videos, and documents. It is a cloud-based service that allows you to store and retrieve data from anywhere in the world. This is a great option for storing backups, as it is easy to set up and manage.
1. Create a new bucket and any name you want. 1. Go to `R2 Object Storage`, and create a new bucket with any name you want by clicking `Create bucket` button.
2. Go to initial R2 Screen, and go to `Manager R2 API Tokens` and create a new token. 2. Go back to `R2 Object Storage`, and select `Manage API tokens` from the select box.
3. Set a Token Name 3. Create a new `User API Token`, and give it a meaninful name.
4. Set `Object Read & Write` Permission. 4. Set `Object Read & Write` Permission.
5. (Optional) Set Specify bucket, by default it will include all buckets. 5. (Optional) Set Specify bucket, by default it will include all buckets.
6. Create the token. 6. Create the token.
Now copy the following variables: Now copy the following variables:
- `Access Key` -> `Access Key (Dokploy)` = eg. `f3811c6d27415a9s6cv943b6743ad784` | (from) Cloudflare | (to) Dokploy | Example value |
- `Secret Key` -> `Secret Key (Dokploy)` = eg. `aa55ee40b4049e93b7252bf698408cc22a3c2856d2530s7c1cb7670e318f15e58` |---------------------|---------------------|----------------------------------------------------------------------|
- `Region` -> `Region (Dokploy)` = eg. `WNAM, ENAM, etc` it will depend on the region you are using. | `Access Key ID` | `Access Key Id` | `f3811c6d27415a9s6cv943b6743ad784` |
- `Endpoint` -> `Endpoint (Dokploy)` = eg. `https://8ah554705io7842d54c499fbee1156c1c.r2.cloudflarestorage.com` | `Secret Access Key` | `Secret Access Key` | `aa55ee40b4049e93b7252bf698408cc22a3c2856d2530s7c1cb7670e318f15e58` |
- `Bucket` -> `Bucket (Dokploy)` = eg. `dokploy-backups` use the name of the bucket you created. | `Region` | `Region` | `WNAM, ENAM, etc` it will depend on the region you are using. |
| `Endpoint` | `Endpoint` | `https://8ah554705io7842d54c499fbee1156c1c.r2.cloudflarestorage.com` |
| `Bucket` | `Bucket` | `dokploy-backups` use the name of the bucket you created. |
Test the connection and you should see a success message. Test the connection and you should see a success message.