Clean up the purestorage config, and add explanatory comments.
We're keeping beta on local disk for now.
This commit is contained in:
@@ -3,6 +3,6 @@ require_relative "production"
|
||||
Rails.application.configure do
|
||||
config.action_mailer.default_url_options = { host: "%{tenant}.37signals.works" }
|
||||
|
||||
# I couldn't figure out how to configure Pure to allow updates from Kevin's digital ocean instance.
|
||||
# Let's keep beta on local disk. See https://github.com/basecamp/fizzy/pull/557 for context.
|
||||
config.active_storage.service = :local
|
||||
end
|
||||
|
||||
+3
-2
@@ -6,10 +6,11 @@ local:
|
||||
service: Disk
|
||||
root: <%= Rails.root.join("storage", "tenants", Rails.env, "%{tenant}", "files") %>
|
||||
|
||||
<% purestorage_env_name = Rails.env.beta? ? "staging" : Rails.env %>
|
||||
# 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-<%= purestorage_env_name %>-activestorage
|
||||
bucket: fizzy-<%= Rails.env %>-activestorage
|
||||
endpoint: "https://storage.basecamp.com"
|
||||
ssl_verify_peer: false # FIXME: using self-signed cert internally
|
||||
force_path_style: true
|
||||
|
||||
Reference in New Issue
Block a user