DigitalOcean Spaces Volume
This plugin provides an DigitalOcean Spaces integration for Craft CMS.
The plugin is based on the first-party AWS S3 Volume for Craft, and behaves in much the same way since Spaces is S3 compatible.
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require vaersaagod/dospaces
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for "DigitalOcean Spaces Volume".
Usage
To create a new asset volume for your Spaces bucket, go to Settings → Assets, create a new volume, and set the Volume Type setting to “DigitalOcean Spaces”. When configuring your volume, make sure you use env-variables, since some of the settings contain secrets that should not be exposed through your project config. Read the following docs, and create variables as needed.
Please note: If you want to use the Spaces CDN functionality, you only
need to change the Base URL setting to your .cdn.
URL. The endpoint URL
should still be the one without .cdn.
.
Price, license and support
The plugin is released under the MIT license, meaning you can do what ever you want with it as long as you don't blame us. It's free, which means there is absolutely no support included, but you might get it anyway. Just post an issue here on github if you have one, and we'll see what we can do.