Files
fizzy/config/storage.yml
T
Mike Dalessio 9126c42eef Remove the "mirror" storage service
because we've updated all the blobs to point to "purestorage"
2025-06-01 13:04:30 -04:00

22 lines
1.1 KiB
YAML

test:
service: Disk
root: <%= Rails.root.join("tmp/storage/%{tenant}") %>
local:
service: Disk
root: <%= Rails.root.join("storage", "tenants", Rails.env, "%{tenant}", "files") %>
# We have "development", "staging", and "production" buckets configured. Note that we don't have a
# "beta" bucket. (As of 2025-06-01.)
purestorage:
service: S3
bucket: fizzy-<%= Rails.env %>-activestorage
endpoint: "https://storage.basecamp.com"
ssl_verify_peer: false # FIXME: using self-signed cert internally
force_path_style: true
request_checksum_calculation: when_required # default is when_supported with CRC64NVME checksum which FlashBlade doesn't support
response_checksum_validation: when_required # default is when_supported with CRC64NVME checksum which FlashBlade doesn't support
region: us-east-1 # default region required for signer
access_key_id: <%= Rails.application.credentials.dig(:active_storage, :purestorage_service, :access_key_id) %>
secret_access_key: <%= Rails.application.credentials.dig(:active_storage, :purestorage_service, :secret_access_key) %>