diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2017-08-01 14:55:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 14:55:55 -0500 |
commit | 211b3976d14fabba4af6c25ec4a48ed91441fa75 (patch) | |
tree | 7b60c4b79a31625a1479dac543357e67eec7b846 /railties | |
parent | d66fadeb676eec32670b944cdf9fb273deba31aa (diff) | |
parent | 55e610455dc7abefb3b94a0cd76fa2b86ffc5921 (diff) | |
download | rails-211b3976d14fabba4af6c25ec4a48ed91441fa75.tar.gz rails-211b3976d14fabba4af6c25ec4a48ed91441fa75.tar.bz2 rails-211b3976d14fabba4af6c25ec4a48ed91441fa75.zip |
Merge pull request #30034 from ffmike/patch-1
Add Azure configuration to Active Storage template
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/storage_services.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml b/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml index 4ec2842145..300fcfcb21 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml @@ -21,6 +21,14 @@ local: # keyfile: <%= Rails.root.join("path/to/gcs.keyfile") %> # bucket: your_own_bucket +# Use rails secrets:edit to set the Azure secret (as shared:azure:storage_access_key) +# microsoft: +# service: Azure +# path: your_azure_storage_path +# storage_account_name: your_account_name +# storage_access_key: <%= Rails.application.secrets.dig(:azure, :storage_access_key) %> +# container: your_container_name + # mirror: # service: Mirror # primary: local |