Use minIO as S3

I would like to use minio as S3-compatible storage, unfortunatly the documentation does not specify on how i can use my own endpoint and how to leave away the region. Can you please provide me with guidance?

I’m reacting to this thread because you’ve flagged it, which I deny.
You say you’ve fixed it - great! Your solution would be a benefit for feature persons.

Another remark as you “didn’t receive a response”:
This is a free community forum without any warranties in terms how fast you receive an answer (if any at all). Please be patient - if you require commercial grade responses, consider a support contract.

Sorry if you misunderstood me, it was no critic that i did not get a reply, it was more like: Another thread that just will stay open until the year has passed is not worth it.
I appreciate the work of the other community members like in all foss projects.

1 Like

@FlorinBuffet how did you solve it? :slight_smile:

I know, didn’t get to it do write it down, now as this thread will stay alive.

Firstly i had to find out that the path in the documentation has to be followed exactly as there is another file, already called storage.yml that comes from rails but doesn’t do anything.
This cost me most of the time as i also tried it with the commands that are written in there.
Somewhere i found a thread where a Core Team Member wrote you want to get rid of the other file, but this is not done afaik.

Then i used this config in the exact path mentioned in the documentation:

s3:
access_key_id: ‘myaccesskeyid’
secret_access_key: ‘mysecretaccesskey’
endpoint: ‘https://minio.mydomain.com’
force_path_style: true
bucket: ‘zammad-storage’
region: ‘eu-central-1’

For me while trying the findings (some were clear fast, others took a while):
The other line in the bottom of your provided file has to be commented out.
You have to provide a region even though minio doesn’t use it.

The command to check if the setup is right is great as this speeds up the testing.

And then as i worked first i thought is was an issue, as the files are not directly stored in S3 but they are converted to a stream.

2 Likes

Thank you very much for sharing your solution. :heart:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.