S3 Destinations
Cloudflare R2
Configure R2 buckets for backup storage. This includes setting up access keys, secret keys, bucket names, regions, and endpoints.
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.
- Go to
R2 Object Storage
, and create a new bucket with any name you want by clickingCreate bucket
button. - Go back to
R2 Object Storage
, and selectManage API tokens
from the select box. - Create a new
User API Token
, and give it a meaninful name. - Set
Object Read & Write
Permission. - (Optional) Set Specify bucket, by default it will include all buckets.
- Create the token.
Now copy the following variables:
(from) Cloudflare | (to) Dokploy | Example value |
---|---|---|
Access Key ID | Access Key Id | f3811c6d27415a9s6cv943b6743ad784 |
Secret Access Key | Secret Access Key | aa55ee40b4049e93b7252bf698408cc22a3c2856d2530s7c1cb7670e318f15e58 |
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.