Question

Setting up Drupal 8 s3fs module with DigitalOcean Spaces instead of s3

Posted May 19, 2020 46 views
Drupal

I’m attemtping to have digitalocean replace Amazon for file system storage with Drupal 8 using hte s3fs module.

Here is a tutorial for S3 setup with Drupal

Some settings that are required are:

# S3FS setting
$settings['s3fs.access_key'] = 'your access key';
$settings['s3fs.secret_key'] = 'your secret key';
$config['s3fs.settings']['bucket'] = 'yourbucketname';
$settings['s3fs.use_s3_for_public'] = TRUE;
# if you want to use S3 for private files, uncomment the line below:
#$settings['s3fs.use_s3_for_private'] = TRUE;

Does anyone have info on how to do this with DO instead?

Thanks!

edited by MattIPv4
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!