diff options
Diffstat (limited to 'rails/test/dummy/config/storage.yml')
-rw-r--r-- | rails/test/dummy/config/storage.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/rails/test/dummy/config/storage.yml b/rails/test/dummy/config/storage.yml new file mode 100644 index 0000000..4942ab6 --- /dev/null +++ b/rails/test/dummy/config/storage.yml | |||
@@ -0,0 +1,34 @@ | |||
1 | test: | ||
2 | service: Disk | ||
3 | root: <%= Rails.root.join("tmp/storage") %> | ||
4 | |||
5 | local: | ||
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 | # Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key) | ||
25 | # microsoft: | ||
26 | # service: AzureStorage | ||
27 | # storage_account_name: your_account_name | ||
28 | # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %> | ||
29 | # container: your_container_name-<%= Rails.env %> | ||
30 | |||
31 | # mirror: | ||
32 | # service: Mirror | ||
33 | # primary: local | ||
34 | # mirrors: [ amazon, google, microsoft ] | ||