]> git.openstreetmap.org Git - rails.git/blob - config/storage.yml
Reduce the max class length after splitting the changeset comments controller tests out
[rails.git] / config / storage.yml
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 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
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
23
24 # Use 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
30
31 # mirror:
32 #   service: Mirror
33 #   primary: local
34 #   mirrors: [ amazon, google, microsoft ]