Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.61 KB

File metadata and controls

39 lines (27 loc) · 1.61 KB

Lombiq Hosting - Tenants Media Storage Management for Orchard Core

Lombiq.Hosting.Tenants.MediaStorageManagement NuGet

About

With the help of this module, you can set restrictions regarding maximum media space per tenant.

Do you want to quickly try out this project and see it in action? Check it out in our Open-Source Orchard Core Extensions full Orchard Core solution and also see our other useful Orchard Core-related open-source projects!

Documentation

This module currently contains one feature:

  • Lombiq.Hosting.Tenants.MediaStorageManagement

Lombiq.Hosting.Tenants.MediaStorageManagement

With this module, you can specify how much space would you like to limit each tenant's storage space. The default is 1GB. If you want to set it to 2GB e.g. you can do it in bytes as an environment variable or in appsettings.json as follows:

"OrchardCore": {
  "Lombiq_Hosting_Tenants_MediaStorageManagement": {
    "MaximumStorageQuotaBytes": 2147483648
  }  
}

Tenant based configuration can be defined as the following, for more details read the Orchard Core documentation.

"OrchardCore": {
  "TenantName": {
    "Lombiq_Hosting_Tenants_MediaStorageManagement": {
      "MaximumStorageQuotaBytes": 2147483648
    }
  }
}