1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00
Maybe/config/storage.yml
Zach Gollwitzer 5dfbba403a
Test environment stability improvements (#703)
* Add climate_control gem and test helper

* Replace ENV mods in upgrades test

* Replace ENV mods in registrations test

* Remove ENV references in hostings controller

* Update ENV refs in mailer test

* ActiveStorage cleanup

* Consolidate queue config so appropriate adapter runs in test environment

* Make test environment more explicit

* Centralize self hosting config

* Remove flaky system test
2024-05-02 13:18:18 -04:00

27 lines
804 B
YAML

local:
service: Disk
root: <%= Rails.root.join("storage") %>
test:
service: Disk
root: <%= Rails.root.join("tmp/storage") %>
amazon:
service: S3
access_key_id: <%= ENV["S3_ACCESS_KEY_ID"] %>
secret_access_key: <%= ENV["S3_SECRET_ACCESS_KEY"] %>
region: <%= ENV["S3_REGION"] || "us-east-1" %>
bucket: <%= ENV["S3_BUCKET"] %>
# Removed in #702. Uncomment, add gems, update .env.example to enable.
#google:
# service: GCS
# project: <%#= ENV["GCS_PROJECT"] %>
# credentials: <%#= Rails.root.join("gcp-storage-keyfile.json") %>
# bucket: <%#= ENV["GCS_BUCKET"] %>
#azure:
# service: AzureStorage
# storage_account_name: <%#= ENV["AZURE_STORAGE_ACCOUNT_NAME"] %>
# storage_access_key: <%#= ENV["AZURE_STORAGE_ACCESS_KEY"] %>
# container: <%#= ENV["AZURE_STORAGE_CONTAINER"] %>