0.0.2 • Published 6 years ago
strapi-upload-gcloud-storage v0.0.2
Strapi upload google cloud storage
Strapi upload provider for Google Cloud Storage.
Instructions:
Navigate to
plugins/upload
and runnpm i strapi-upload-gcloud-storage
.Add the ff config under
config/custom.json
.
"strapi_upload_gcloud_storage": {
"bucket": "${process.env.STRAPI_UPLOAD_GCLOUD_STORAGE_BUCKET || 'strapi-uploads'}"
}
Set env variable
STRAPI_UPLOAD_GCLOUD_STORAGE_BUCKET
to your created google storage bucket name otherwise it will default tostrapi-uploads
as bucket name.Refer to https://cloud.google.com/docs/authentication/getting-started for setting up google cloud authentication.