practice doing this
at main 811 B view raw
1test: 2 service: Disk 3 root: <%= Rails.root.join("tmp/storage") %> 4 5local: 6 service: Disk 7 root: <%= Rails.root.join("storage") %> 8 9# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) 10# amazon: 11# service: S3 12# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %> 13# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %> 14# region: us-east-1 15# bucket: your_own_bucket-<%= Rails.env %> 16 17# Remember not to checkin your GCS keyfile to a repository 18# google: 19# service: GCS 20# project: your_project 21# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> 22# bucket: your_own_bucket-<%= Rails.env %> 23 24# mirror: 25# service: Mirror 26# primary: local 27# mirrors: [ amazon, google, microsoft ]