Skip to content
Cloud storage addon for Cockpit CMS - https://github.com/agentejo/cockpit
Branch: master
Clone or download

README.md

Use cloud storage providers to store assets or thumbnails.

Notice: Only Amazon s3, Azure Blobstorage and Minio are supported right now

Usage

Add files to addons/CloudStorage.

Then update the config (config/config.yaml), e.g:

Amazon S3

cloudstorage:
    assets:
        type: s3
        key: xxxKeyxxx
        secret: xxxSecretxxx
        region: eu-central-1
        bucket: mybucket

        # optional
        endpoint: https://eu-central-1.amazonaws.com
        prefix: subfolder-name
        url: https://s3.eu-central-1.amazonaws.com

Azure Blobstorage

cloudstorage:
    assets:
        type: azure
        key: xxxKeyxxx
        account: my-account
        container: my-container

        # optional
        url: https://my-custom-url.com

Minio

cloudstorage:
    assets:
        type: minio
        key: xxxKeyxxx
        secret: xxxSecretxxx
        bucket: mybucket

        # optional
        endpoint: http://localhost:9000
        region: us-east-1
        prefix: subfolder-name
        image_address: http://localhost:9000/mybucket

That's it!

You can’t perform that action at this time.