File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 77 root: <%= Rails.root.join("storage") %>
88
99# Local storage is used by default. To use another storage provider in production,
10- # please set ACTIVE_STORAGE_SERVICE=aws and the corresponding configuration.
10+ # please set ACTIVE_STORAGE_SERVICE=amazon and the corresponding configuration.
1111# The aws-sdk-s3 GEM is included to support S3-compatible providers.
1212#
13- # aws:
13+ # Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
14+ # amazon:
1415# service: S3
15- # ...
16+ # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
17+ # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
18+ # region: us-east-1
19+ # bucket: your_own_bucket-<%= Rails.env %>
20+
21+ # Remember not to checkin your GCS keyfile to a repository
22+ # google:
23+ # service: GCS
24+ # project: your_project
25+ # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
26+ # bucket: your_own_bucket-<%= Rails.env %>
27+
28+ # Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
29+ # microsoft:
30+ # service: AzureStorage
31+ # storage_account_name: your_account_name
32+ # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
33+ # container: your_container_name-<%= Rails.env %>
34+
35+ # mirror:
36+ # service: Mirror
37+ # primary: local
38+ # mirrors: [ amazon, google, microsoft ]
Original file line number Diff line number Diff line change @@ -25,3 +25,4 @@ The following environment variables are specifically support in CodeHarbor and a
2525| ` LISTEN_ADDRESS ` | ` 127.0.0.1 ` in ` development ` | Specifies the IP address the Vagrant VM server should attach to during development |
2626| ` HEADLESS ` | ` false ` | Enables the test environment to work without a window manager for feature tests (e.g., using Vagrant) |
2727| ` BROWSER ` | ` chrome ` | Specifies the browser to be used for system tests. Supported are ` chrome ` or ` firefox ` |
28+ | ` ACTIVE_STORAGE_SERVICE ` | ` local ` | Specifies the default ActiveStorage backend in production (configured in config/storage.yml). |
You can’t perform that action at this time.
0 commit comments