4 ms·
I'm really interested in fly.io after their Postgres post the other day, but I've not seen anywhere what their recommended solution is for ActiveStorage – is it
by robgough 5y ago
I'm really interested in fly.io after their Postgres post the other day, but I've not seen anywhere what their recommended solution is for ActiveStorage – is it still writing to S3 (or equivalent), or would it be somehow using their volumes? Are there any published examples (blog posts etc)?
- remorses 5y agoUsing volumes as some sort of s3 would require you to basically build s3 from scratch, you would still need to create an auth system, a server to handle uploads, a way to manage uploaded content maintaining their content type somehow (maybe using another db), a static server, .etc
- klohto 5y agoNobody's stopping you from running MinIO on top.
- klohto 5y agoActiveStorage has a local disk support, right? If you do need an S3 compatible storage on edge, you could deploy MinIO[0] [0] - https://fly.io/docs/app-guides/minio/ https://fly.io/docs/app-guides/minio/
- mrkurt 5y agoS3 or the equivalent is best, yes.
- acejam 5y agoCheck out Filebase [0]. It's powered by Web3 technologies including decentralized and distributed storage networks, effectively creating one giant "global" S3 region. You could almost think of it as the storage-equivalent to Fly.io. It also works with ActiveStorage out of the box since Filebase has an S3 compatible API. [0] https://filebase.com/ https://filebase.com/