Is there anything specific you’d like to see?
We’re planning on redoing how attachments are stored and managed, but we’re not yet sure how or when.
as I understand you’re working on physical schema so the record’s relationship would be changed on 2022.9 … would that anyhow affect the storage ?
exactly that’s why I asked.
since it’s deprecating, the gateway solution wouldn’t work for me
should I deploy a MinIO cluster ? or you have a better idea!
also, what are the common approaches in Corteza community?
I too was dissapointed with the Minio gateway deprecation
But there are 2 options, either use Minio cluster (you can setup a one-node simple cluster as well) that actually supports encryption at rest and load balancing.
Or you can use S3 directly with Minio API that Corteza is using.
Minio explicitly states that the Minio API is compatible with S3 API, so that should work out of the box. Do note, we never tested it, so you would be in the pioneering waters on that one.
If I’m not mistaken you mean that you can setup minio using the latest release and within minio setup your storage endpoint using s3 configuration parameters (bucket,uri,key, and token).
Below is an example of your first idea, setting up your own minio cluster.
I added the following service definition to my docker compose file and it allows me to successfully upload files to s3 via corteza.
Ahh, I understand what you mean. Minio essentially just acts as an s3 client. I didn’t realize it could do that without a dedicated service. This is a much lighterweight solution .
For future readers the way to set this up in your corteza env file is:
Does corteza have the ability to cache files retreived from the object store?
Let’s say I fetch a preview of an image from s3, does it have to do the fetch from s3 everytime, or can I define a TTL for caching for faster access?