S3 Blob Storage file system provider for Umbraco CMS.
Serving media files from the /media
path with support for the image cache with files in the /cache
path
This provider can be added in the Program.cs
file:
builder.CreateUmbracoBuilder()
.AddBackOffice()
.AddWebsite()
.AddDeliveryApi()
.AddComposers()
+ .AddS3MediaFileSystemWithImageSharpCache()
.Build();
Configure provider in appsettings.json
:
{
"Umbraco": {
"Storage": {
"S3": {
"Media": {
"BucketName": "bucket-name",
"Region": "us-easy-1",
"ServiceURL": "url-of-s3-storage",
"AccessKey": "access-key",
"SecretKey": "secret-key"
}
}
}
}
}
With an S3 bucket in place, the media
folder will contain the traditional seen media folders and files while the cache
folder will contain the files to support the image cache.
Umbraco Storage Provider for AWS S3 is MIT licensed.