3.0.6 • Published 4 years ago
strapi-provider-upload-scaleway v3.0.6
strapi-provider-upload-scaleway
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.
Usage
To install this provider run:
npm install strapi-provider-upload-scaleway
or
(recommended)
yarn add strapi-provider-upload-scaleway
Example
./config/plugins.js
module.exports = ({ env }) => ({
// ...
upload: {
provider: 'scaleway',
providerOptions: {
accessKeyId: env('SCALEWAY_ACCESS_KEY_ID'),
secretAccessKey: env('SCALEWAY_ACCESS_SECRET'),
endpoint: env('SCALEWAY_ENDPOINT'),
sslEnabled: env.bool('SCALEWAY_SSL', true),
params: {
Bucket: env('SCALEWAY_BUCKET')
}
}
},
// ...
});