Howtos
Cloud bucket storage
Provides the ability to configure the project's functionality so that your content will be stored in cloud storage.
How to configure
To utilize this functionality, your configuration must adhere to the following structure:
"your_environment":
{
"projectId": "project_id",
"credentialsPath": "credential_file_path",
"bucketName": "bucket_name",
"storageType": "type",
"accessKey": "access_key",
"secretKey": "secret_key"
}
Parameters:
- projectId: The ID of your project.
- credentialsPath: The file path to the credentials file.
- bucketName: The name of the bucket where your content will be stored.
- storageType: The type of storage.
- accessKey: Access key for cloud storage authentication.
- secretKey: Secret key for cloud storage authentication.
Supported Storage Types:
- fs: File System
- gcs: Google Cloud Storage
- s3: Amazon S3 Cloud Storage
Example Configuration
Here's an example configuration snippet:
"cms":
{
"projectId": "eu-central-1.linodeobjects.com",
"credentialsPath": "daebdd0fa7d3.json",
"bucketName": "asg-content",
"storageType": "s3",
"accessKey": "access_key",
"secretKey": "secret_key"
}
