diff --git a/source/maintainer-guide/installing/customizing-data-directory.rst b/source/maintainer-guide/installing/customizing-data-directory.rst index a3739a58..5201fb3a 100644 --- a/source/maintainer-guide/installing/customizing-data-directory.rst +++ b/source/maintainer-guide/installing/customizing-data-directory.rst @@ -177,6 +177,60 @@ can be used to configure it (convenient in a container environment): - AWS_ACCESS_KEY_ID - AWS_SECRET_ACCESS_KEY +Using a generic cloud object storage (JCLoud) +~~~~~~~~~~~~~~~~~~~~~~~~~ + +If your infrastructure doesn't have a persistent storage available, you can configure +GeoNetwork to use a cloud object storage to store the images and data. +The JCloud implementation supports the following `providers ` + +In order to do that, you must use a custom bean configuration. Replace the +:code:`filesystemStore`, :code:`resourceStore` and :code:`resources` beans in +:code:`core/src/main/resources/config-spring-geonetwork.xml` with something like this: + +Azure Blob sample +.. code-block:: xml + + + + + + + + + + + + + + +AWS S3 sample +.. code-block:: xml + + + + + + + + + + + + + + +The :code:`jcloudcredentials` bean can be left empty and the following system environment variables +can be used to configure it (convenient in a container environment): + + - JCLOUD_PROVIDER + - JCLOUD_CONTAINERNAME + - JCLOUD_BASEFOLDER + - JCLOUD_STORAGEACCOUNTNAME + - JCLOUD_STORAGEACCOUNTKEY + Structure of the data directory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~