Make paths written to at runtime and secrets configurable via ENV variables

This commit is contained in:
Charlotte Van Petegem 2025-05-21 13:41:33 +02:00
parent 6ccd23c06a
commit cbaed036da
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ test:
local:
service: Disk
root: <%= Rails.root.join("storage") %>
root: <%= ENV.fetch("RAILS_STORAGE_PATH", Rails.root.join("storage")) %>
# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
# amazon: