rauversion / rauversion-phx

Self hosted music industries built on Elixir Phoenix

Home Page:https://rauversion.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Support for local storage

PhoenixSheppy opened this issue · comments

As the title says, please add support for local storage.

I personally don't use S3, but the option to use solutions like MINIO or local VM / LXC storage would be nice.

Hi, As MINIO is a compatible S3 you can use it as a replacement storage. Also you can set up a "local" disk storage.

Hi, As MINIO is a compatible S3 you can use it as a replacement storage. Also you can set up a "local" disk storage.

@michelson What are the steps to configure local disk storage? I didn't see anything in the .env file when initially configuring.

Hi, check the prod.exs and change from this:

config :active_storage, :service, :amazon

into this:
config :active_storage, :service, :local

Also check the runtime.exs where the storage services are declared there is a config for minio, so if you want to use minio you need to setup the minio and declare the service as:

config :active_storage, :service, :minio