The Google Storage addon is a Nuxeo Binary Manager for Google. It stores Nuxeo's binaries (the attached documents) in a Google Storage bucket.
University
Before You Start
You should be familiar with Google Storage and in possession of your credentials.
Installation
This addon requires no specific installation steps. It can be installed like any other package with nuxeoctl command line or from the Marketplace.
Nuxeo Configuration
To configure the package, you will need to provide values for the configuration parameters that define your Google credentials, bucket and project.
You can do the configuration using the nuxeo.conf
properties described below.
Specifying Your Google Credentials and Region
In nuxeo.conf
, add the following lines:
# GCP Bucket ID
nuxeo.gcp.storage.bucket=
# GCP Bucket prefix
nuxeo.gcp.storage.bucket_prefix=
# GCP Project ID
nuxeo.gcp.project=
# JSON GCP Credentials
nuxeo.gcp.credentials=
- absolute JSON GCP credentials file path
- file name of credentials in `nxserver/config`
- if not set Nuxeo will look into 'gcp-credentials.json' file by default (located in `nxserver/config`)
If you installed the bundle JAR manually instead of using the Nuxeo Package you will also need:
nuxeo.core.binarymanager=org.nuxeo.ecm.core.storage.gcp.GoogleStorageBinaryManager