Skip to content

A Craft 3 plugin that integrates with fortrabbit's S3 compatible Object Storage

License

Notifications You must be signed in to change notification settings

howells/craft-object-storage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fortrabbit Object Storage Volume for Craft CMS

This plugin provides an Object Storage integration for Craft CMS.

Requirements

This plugin requires Craft CMS 3.1 and PHP 7.1 or later. There is another plugin to provide this for Craft 2 over here.

Installation

To install the plugin, follow these instructions.

1. Intall the plugin via composer

cd /path/to/project

composer config platform --unset
composer require fortrabbit/craft-object-storage

2. Update your local .env file

Learn how to access credentials on fortrabbit.

OBJECT_STORAGE_BUCKET="(YOUR_APP_NAME)"
OBJECT_STORAGE_HOST="(YOUR_APP_NAME).objects.frb.io"
OBJECT_STORAGE_KEY="(YOUR_APP_NAME)"
OBJECT_STORAGE_REGION="(us-east-1|eu-west-1)"
OBJECT_STORAGE_SECRET="(OBJECT_STORAGE_SECRET)"
OBJECT_STORAGE_SERVER="objects.(us1|eu2).frbit.com"

3. Install the plugin

./craft plugin/install fortrabbit-object-storage

Or browse to CP > Settings > Plugins to enable the plugin.

4. Configure

Configure volumes on CP > Settings > Assets > Volumes. Use the environment variables in the fields as $OBJECT_STORAGE_BUCKET etc.

About

A Craft 3 plugin that integrates with fortrabbit's S3 compatible Object Storage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 70.2%
  • HTML 29.8%