Allow custom path for ActiveStorage local/disk backend
This commit is contained in:
parent
70ac3b0a70
commit
84e915ece9
@ -1,6 +1,6 @@
|
||||
local:
|
||||
service: Disk
|
||||
root: <%= Rails.root.join("storage") %>
|
||||
root: <%= ENV["ACTIVE_STORAGE_PATH"] || Rails.root.join("storage") %>
|
||||
|
||||
test:
|
||||
service: Disk
|
||||
|
@ -42,6 +42,7 @@ services:
|
||||
LDAP_ADMIN_PASSWORD: passthebutter
|
||||
LDAP_USE_TLS: "false"
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
ACTIVE_STORAGE_PATH: "/akkounts/tmp/attachments"
|
||||
RS_REDIS_URL: redis://redis:6379/1
|
||||
RS_STORAGE_URL: "http://localhost:4567"
|
||||
S3_ENABLED: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user