Filesystems

Filesystem Disks

Here you may specify the filesystem disk that should be used by the platform. By default, the platform uses the local public disk to store images and files, as well as a variety of cloud based disks are available to the platform. Just store away!
You can store files both locally and in the cloud. For this reason, you may specify a default cloud driver here. This driver will be bound as the Cloud disk implementation in the container.

 

Amazon S3 Configuration >= V-1.1.2

The S3 driver configuration information is located in your .env configuration file. This file contains the configuration for an S3 driver. You are free to modify this array with your own S3 configuration and credentials. For convenience, these environment variables match the naming convention used by the AWS CLI.

To configure S3, open the .env file and update these keys with your values from Amazon S3.

.
.
.
AWS_KEY=
AWS_SECRET=
AWS_REGION=
AWS_BUCKET=
.
.
.

Now change the driver in use from public to s3 and save the .env file

.
.
.
FILESYSTEM_DRIVER=s3
.
.
.

The system will save all static files to your s3 cloud server.

 
 

Was this helpful to you?

Leave Comment