mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 16:29:18 +00:00

Updated README docs & package.json `engine` versions to bump up the minimum required Node version from `10.10` to `10.16` (or `10.16.0+`) Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0` ( https://github.com/strapi/strapi/pull/7729 ) which requires Node 10.16.0+ (See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 ) ` yarn create strapi-app my-project --quickstart` on 10.10 fails with error ``` error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0" error Found incompatible module. ``` Signed-off-by: Peter Etelej <peter@etelej.com>
strapi-provider-upload-aws-s3
Configurations
Your configuration is passed down to the provider. (e.g: new AWS.S3(config)
). You can see the complete list of options here
See the using a provider documentation for information on installing and using a provider. And see the environment variables for setting and using environment variables in your configs.
Example
./config/plugins.js
module.exports = ({ env }) => ({
// ...
upload: {
provider: 'aws-s3',
providerOptions: {
accessKeyId: env('AWS_ACCESS_KEY_ID'),
secretAccessKey: env('AWS_ACCESS_SECRET'),
region: env('AWS_REGION'),
params: {
Bucket: env('AWS_BUCKET'),
},
},
},
// ...
});