Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Winter CMS plugin for using DigitalOcean Spaces as a filesystem

License

Notifications You must be signed in to change notification settings

zaxbux/wn-dostoragedriver-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation Notice

Warning: This plugin is no longer being maintained.

Migration Steps

Since October CMS is based on Laravel, the built-in S3 driver (from October.Drivers) completely replaces the functionality of this plugin. Edit your filesystems.php file like so:

'disks' => [

	// ...

	's3' => [
		'driver'     => 's3',                                   // Use the built-in S3 driver
		'key'        => 'XXXXXXXXXXXXXXXXXXXX',                 // DigitalOcean API key
		'secret'     => '0123456789abcdefghijklmnopqrstuvwxyz', // DigitalOcean API secret
		'endpoint'   => 'https://xyz1.digitaloceanspaces.com',  // DigitalOcean spaces endpoint
		'region'     => 'xyz1',                                 // Should match your endpoint
		'bucket'     => 'assets',                               // Your bucket name
		'visibility' => 'public',                               // Make uploads read-only for anonymous users
	],

],

This configures October CMS to use it's own S3 driver to upload files to DigitalOcean spaces, marking them as public (using the public-read canned ACL). This change doesn't delete your uploads or make them inaccessable, and you can still upload files just like before.

About

Winter CMS plugin for using DigitalOcean Spaces as a filesystem

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages