Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wgr-sa/strapi-provider-upload-open-stack
https://github.com/wgr-sa/strapi-provider-upload-open-stack
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wgr-sa/strapi-provider-upload-open-stack
- Owner: WGR-SA
- License: other
- Created: 2023-07-07T08:09:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-21T19:19:33.000Z (5 months ago)
- Last Synced: 2024-08-21T21:47:08.462Z (5 months ago)
- Language: TypeScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @wgr-sa/strapi-provider-upload-open-stack
## Resources
- [LICENSE](LICENSE)
## Installation
```bash
# using yarn
yarn add @wgr-sa/strapi-provider-upload-open-stack# using npm
npm install @wgr-sa/strapi-provider-upload-open-stack --save
```## Configuration
- `provider` defines the name of the provider
- `providerOptions` is passed down during the construction of the provider.### Provider Configuration
`./config/plugins.js` or `./config/plugins.ts` for TypeScript projects:
```js
module.exports = ({ env }) => ({
// ...
upload: {
config: {
provider: '@wgr/strapi-provider-upload-open-stack',
providerOptions: {
authUrl: env('OS_AUTH_URL'),
objectStorageUrl: env('OS_OBEJCT_STORAGE_URL'),
region: env('OS_REGION'),
application_credential_id: env('OS_APPLICATION_CREDENTIAL_ID'),
application_credential_secret: env('OS_APPLICATION_CREDENTIAL_SECRET'),
project_id: env('OS_PROJECT_ID'),
container: env('OS_CONTAINER'),
prefix: env('OS_PREFIX'),
},
},
},
// ...
});
```