Skip to main content

S3 Storage for Papermerge DMS

Project description

S3 Storage

This module enables Papermerge to store documents in S3 object storage.

Installation

Add cloud storage repository as dependency in requirements file:

pip install papermerge-s3

How to use it?

In papermerge.conf.py file set DEFAULT_FILE_STORAGE and

FILE_STORAGE_KWARGS variables:

DEFAULT_FILE_STORAGE = 'papermerge.storage.S3Storage'
FILE_STORAGE_KWARGS = {
    'bucketname': '<bucketname>',
    'namespace': '<namespace>'
}

Alternatively set PAPERMERGE_DEFAULT_FILE_STORAGE and PAPERMERGE_FILE_STORAGE_KWARGS in django settings file:

PAPERMERGE_DEFAULT_FILE_STORAGE = 'papermerge.storage.S3Storage'
PAPERMERGE_FILE_STORAGE_KWARGS = {
    'bucketname': '<bucketname>',
    'namespace': '<namespace>'
}

Set following evironment variables:

S3_ACCESS_KEY_ID = 'your aws access key id'
S3_SECRET_ACCESS_KEY = 'your aws secret access key id'
S3_ENDPOINT_URL = '<endpoint url>'
S3_REGION_NAME = '<region name>'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

papermerge-s3-1.3.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page