Roots Discourse

[Sage 10] Any pointers on how to use config/filesystems.php?

Hey guys,

I stumbled across the filesystems.php file in the config folder for Sage 10 and was now wondering how it could be used?

From what I understand it’s using the Laravel Filesystem (https://laravel.com/docs/8.x/filesystem) and would require me to install league/flysystem-aws-s3-v3 via composer. The disks array in filesystems.php contains settings for “local”, “wordpress”, “theme” and “s3”. But I’m not really sure how to use them correctly.

I couldn’t really find anything on the discourse here or in Github issues for sage, so I was wondering what a minimal setup would look like to upload media or the entire WP_CONTENT_DIR to S3.