Skip to content

virgil9306/strapi-provider-upload-tp-minio

 
 

Repository files navigation

strapi-provider-upload-tp-minio

This upload provider uses the JavaScript Minio.Client to upload files to a (self hosted) instance of Minio.

It's following the manual to create upload providers.

Notice We currently use it in conjunction with Docker.

Config

There are only a couple of settings one has to provide to make it work. The following config settings are available:

Config Label Internal Name Value
Access API Token accessKey string
Secret Access Token secretKey string
Bucket bucket string
Endpoint endPoint string
Port port string
SSL useSSL string(true for ssl, anything else for false)

Example Hash

The resulting configuration hash should look like the following:

const cfg = {
  accessKey: 'minio',
  secretKey: 'MySuperSafeSecretKeyAsAHashedValue',
  bucket: 'my-bucket',
  endPoint: 'minio.example.com',
  port: 9000,
  useSSL: true,
};

// if you are using Docker the endPoint needs to resemble the container name (or the service name) of your minio instance
// ...
// endPoint: 'minio',
// useSSL: false,
// ...

Resources

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%