Amazon S3 Storage

Reverse proxies, SSL termination, web servers, helm charts, integrations, batch files, anything having to do with installing Mayan.
Post Reply
Ilikes3
Posts: 3
Joined: Fri Oct 12, 2018 2:44 pm

Amazon S3 Storage

Post by Ilikes3 »

Hello,

I have been trying to setup Mayan EDMS to utilize Amazon S3 for document storage. I found a few links via Google, but unfortunately they are from prior versions. It looks like the current version documentation is still being improved as the file storage back-end just changed to django-storages. Really not sure how to tackle this. Would anyone care to share the instructions on configuring Mayan EDMS with Amazon S3 object storage?

Thank you

TobyWan
Posts: 1
Joined: Fri Oct 12, 2018 4:50 pm

Re: Amazon S3 Storage

Post by TobyWan »

I have mine running S3 on AWS and it's super easy. Add -e MAYAN_PIP_INSTALLS='django-storages boto3' to docker. Then on the WebUI in DOCUMENTS_STORAGE_BACKEND type storages.backends.s3boto3.S3Boto3Storage and in DOCUMENTS_STORAGE_BACKEND_ARGUMENTS type '{access_key: **your access key**, secret_key: **your secret key**, bucket_name: mayan}'. Then restart the docker and done!

Ilikes3
Posts: 3
Joined: Fri Oct 12, 2018 2:44 pm

Re: Amazon S3 Storage

Post by Ilikes3 »

Spent so many hours on this. thank you!

Post Reply