blob: d3f001a27bded301e0c870f22fafbbebda7f5501 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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
access_key_id: <%= Rails.application.secrets.aws[:access_key_id] %>
secret_access_key: <%= Rails.application.secrets.aws[:secret_access_key] %>
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
secondaries: [ amazon, google ]
|