diff README.md @ 20:968eb1c78aed

Added 'RootPath' configuration
author Alain Mazy
date Mon, 07 Sep 2020 14:12:49 +0200
parents 2a02b21f0a19
children 7ddd840563c9
line wrap: on
line diff
--- a/README.md	Wed Sep 02 18:15:45 2020 +0200
+++ b/README.md	Mon Sep 07 14:12:49 2020 +0200
@@ -39,6 +39,7 @@
     "GoogleCloudStorage" : {
         "ServiceAccountFile" : "/.../googleServiceAccountFile.json",
         "BucketName": "test-orthanc-storage-plugin",
+        "RootPath": "",                 // optional: folder in which files are stored (ex: my/path/to/myfolder)
         "StorageEncryption" : {...},
         "StorageStructure" : "flat",
         "MigrationFromFileSystemEnabled" : false
@@ -66,6 +67,7 @@
     "AzureBlobStorage" : {
     	"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=xxxxxxxxx;AccountKey=yyyyyyyy===;EndpointSuffix=core.windows.net",
     	"ContainerName" : "test-orthanc-storage-plugin",
+        "RootPath": "",                 // optional: folder in which files are stored (ex: my/path/to/myfolder)
         "StorageEncryption" : {...},
         "StorageStructure" : "flat",
         "MigrationFromFileSystemEnabled" : false
@@ -112,8 +114,9 @@
         "Endpoint": "",                 // optional: custom endpoint
         "ConnectionTimeout": 30,        // optional: connection timeout in seconds
         "RequestTimeout": 1200,         // optional: request timeout in seconds (max time to upload/download a file)
-        "StorageEncryption" : {...},
-        "StorageStructure" : "flat",
-        "MigrationFromFileSystemEnabled" : false
+        "RootPath": "",                 // optional: folder in which files are stored (ex: my/path/to/myfolder)
+        "StorageEncryption" : {...},    // optional
+        "StorageStructure" : "flat",    // optional
+        "MigrationFromFileSystemEnabled" : false // optional
     }
 ```
\ No newline at end of file