how to provide values for object_parameters inside MAYAN_DOCUMENTS_STORAGE_BACKEND_ARGUMENTS

Reverse proxies, SSL termination, web servers, helm charts, integrations, batch files, anything having to do with installing Mayan.
Post Reply
legosiv
Posts: 12
Joined: Thu Jan 13, 2022 10:29 am

how to provide values for object_parameters inside MAYAN_DOCUMENTS_STORAGE_BACKEND_ARGUMENTS

Post by legosiv »

Im trying to connect myan edms to an s3 bucket too. I cant make it work with the current configurations.The docs on object storage says default_acl is removed and need to use object_parameters. how do we use that? object_parameters accept multiple options and I dont know how to include it inside MAYAN_DOCUMENTS_STORAGE_BACKEND_ARGUMENTS.

current config, does not work, mayan still use filesystem. (docker-compose.yaml)

Code: Select all

MAYAN_PIP_INSTALLS: "django-storages==1.10 boto3==1.14.58"
MAYAN_DOCUMENTS_STORAGE_BACKEND: "storages.backends.s3boto3.S3Boto3Storage"
MAYAN_DOCUMENTS_STORAGE_BACKEND_ARGUMENTS: "{'access_key':'<access-key>,'secret_key':'<secret-key>','bucket_name':'mayan-edms-testing','region_name':'ap-south-1','default_acl':'private'}"
Post Reply