mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Support for Cloudflare R2
This commit is contained in:
parent
3461182725
commit
78b0674052
2 changed files with 16 additions and 0 deletions
|
@ -13,6 +13,14 @@ amazon:
|
|||
region: <%= ENV["S3_REGION"] || "us-east-1" %>
|
||||
bucket: <%= ENV["S3_BUCKET"] %>
|
||||
|
||||
cloudflare:
|
||||
service: S3
|
||||
endpoint: https://<%= ENV['CLOUDFLARE_ACCOUNT_ID'] %>.r2.cloudflarestorage.com
|
||||
access_key_id: <%= ENV['CLOUDFLARE_ACCESS_KEY_ID'] %>
|
||||
secret_access_key: <%= ENV['CLOUDFLARE_SECRET_ACCESS_KEY'] %>
|
||||
region: auto
|
||||
bucket: <%= ENV['CLOUDFLARE_BUCKET'] %>
|
||||
|
||||
# Removed in #702. Uncomment, add gems, update .env.example to enable.
|
||||
#google:
|
||||
# service: GCS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue