storage.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. test:
  2. service: Disk
  3. root: <%= Rails.root.join("tmp/storage") %>
  4. local:
  5. service: Disk
  6. root: <%= Rails.root.join("storage") %>
  7. # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
  8. # amazon:
  9. # service: S3
  10. # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
  11. # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
  12. # region: us-east-1
  13. # bucket: your_own_bucket
  14. # Remember not to checkin your GCS keyfile to a repository
  15. # google:
  16. # service: GCS
  17. # project: your_project
  18. # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
  19. # bucket: your_own_bucket
  20. # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
  21. # microsoft:
  22. # service: AzureStorage
  23. # storage_account_name: your_account_name
  24. # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
  25. # container: your_container_name
  26. # mirror:
  27. # service: Mirror
  28. # primary: local
  29. # mirrors: [ amazon, google, microsoft ]