To use Amazon S3 or S3-compatible services (like MinIO), set engine to S3.
Amazon S3
Provide an AWS object with region and credentials (accessKeyId, secretAccessKey), and an S3 object containing bucket parameters. For new installs, set fileExtensions: true.
S3-Compatible (e.g., MinIO)
In addition to the standard S3 config, add the following to the AWS object:
endpoint: The hostname/IP and port (e.g., http://minio:9000).endpointPrefix: Boolean.forcePathStyle: Boolean.hostPrefixEnabled: Boolean.
Post-Configuration:
You must run the Cronicle setup script manually to bootstrap the system:
/opt/cronicle/bin/control.sh setup
{
"Storage": {
"transactions": true,
"trans_auto_recover": true,
"engine": "S3",
"AWS": {
"endpoint": "http://minio:9000",
"endpointPrefix": false,
"forcePathStyle": true,
"hostPrefixEnabled": false,
"region": "us-west-1",
"credentials": {
"accessKeyId": "YOUR_MINIO_ACCESS_KEY",
"secretAccessKey": "YOUR_MINIO_SECRET_KEY"
}
},
"S3": {
"connectTimeout": 5000,
"socketTimeout": 5000,
"maxAttempts": 50,
"keyPrefix": "",
"fileExtensions": true,
"params": {
"Bucket": "YOUR_MINIO_BUCKET_ID"
},
"cache": {
"enabled": true,
"maxItems": 1000,
"maxBytes": 10485760
}
}
}
}