This repository was archived by the owner on Aug 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Media Storage
Gustavo Denis edited this page Oct 31, 2019
·
1 revision
| Main > Using Liquid for building your application > Set up configuration per environment > Media Storage |
|---|
Configure each Azure Blob, Amazon S3 or Google Storage container used as media storage as the example bellow:
"MediaStorage": {
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=foo;AccountKey=7kdkaslkjes44545ZsQ7J9wFUfembnVw0j88OA==;BlobEndpoint=https://foo.blob.core.windows.net/;QueueEndpoint=https://foo.queue.core.windows.net/;TableEndpoint=https://foo.table.core.windows.net/;FileEndpoint=https://foo.file.core.windows.net/;",
"Container": "repo"
},
"MediaStorage_Repo2": {
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=foo;AccountKey=7kdkaslkjes44545ZsQ7J9wFUfembnVw0j88OA==;BlobEndpoint=https://foo.blob.core.windows.net/;QueueEndpoint=https://foo.queue.core.windows.net/;TableEndpoint=https://foo.table.core.windows.net/;FileEndpoint=https://foo.file.core.windows.net/;",
"Container": "repo2"
},
Where:
- [MediaStorage]: is the nickname for the storage account in the configuration. Use a sufix for accounts used with additional repositories;
- [MediaStorage].ConnectionString: The string used to connect to AzureBlob (https://docs.microsoft.com/en-us/azure/storage/common/storage-create-storage-account#storage-account-endpoints) or the Project ID used to connect to Google Storage or Amazon S3
- [MediaStorage].Container: The name of the Azure Storage [container] or the name of Bucket the Google Storage or Amazon S3 [Bucket]