2017-07-06 09:02:09 -04:00
|
|
|
test:
|
|
|
|
service: Disk
|
|
|
|
root: <%= Rails.root.join("tmp/storage") %>
|
|
|
|
|
|
|
|
local:
|
|
|
|
service: Disk
|
|
|
|
root: <%= Rails.root.join("storage") %>
|
|
|
|
|
|
|
|
# Use rails secrets:edit to set the AWS secrets (as shared:aws:access_key_id|secret_access_key)
|
|
|
|
amazon:
|
|
|
|
service: S3
|
2017-07-14 17:25:07 -04:00
|
|
|
access_key_id: <%= Rails.application.secrets.dig(:aws, :access_key_id) %>
|
|
|
|
secret_access_key: <%= Rails.application.secrets.dig(:aws, :secret_access_key) %>
|
2017-07-06 09:02:09 -04:00
|
|
|
region: us-east-1
|
|
|
|
bucket: your_own_bucket
|
|
|
|
|
|
|
|
# Remember not to checkin your GCS keyfile to a repository
|
|
|
|
google:
|
|
|
|
service: GCS
|
|
|
|
project: your_project
|
|
|
|
keyfile: <%= Rails.root.join("path/to/gcs.keyfile") %>
|
|
|
|
bucket: your_own_bucket
|
|
|
|
|
|
|
|
mirror:
|
|
|
|
service: Mirror
|
|
|
|
primary: local
|
2017-07-08 19:55:50 -04:00
|
|
|
mirrors: [ amazon, google ]
|