Skip to content

S3 compatible object storage

For storing media files we using S3 compatible storage it require setup of django-storages[s3]>=1.14.6 Object storage also used for storing DB backups

Required env variables:

USE_S3=1
AWS_S3_BUCKET_NAME=bucket
AWS_S3_ENDPOINT_URL=https://uuid.r2.cloudflarestorage.com/bucket
AWS_S3_ACCESS_KEY_ID=uuid
AWS_S3_SECRET_ACCESS_KEY=uuid4
AWS_S3_SIGNATURE_VERSION=v4

Leave USE_S3 empty for using default django file storage