Make the application multi-tenant

This commit is contained in:
Mike Dalessio
2025-03-04 08:45:41 -05:00
parent b90cc9bd06
commit d9ece38753
8 changed files with 2024 additions and 9 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
test:
service: Disk
root: <%= Rails.root.join("tmp/storage") %>
root: <%= Rails.root.join("tmp/storage/%{tenant}") %>
tenanted: true
local:
service: Disk
root: <%= Rails.root.join("storage", "files") %>
root: <%= Rails.root.join("storage", "files", "%{tenant}") %>
tenanted: true
# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
# amazon: