MinIO
About MinIO
MinIO is open source. It can be run locally. This makes it ideal for certain dev use cases, air gapped, and highly customizable. MinIO carries over the same cloud concepts, like buckets and tiers, into your own hardware.
Installing MinIO
See Download MinIO.
You can get a basic setup up and running in a few moments.
Note that the Development Installer of Diffgram comes pre-bundled with MinIO so no additional install is required.
MinIO Connection
To use MinIO to access or push data add it as a connection.
Localhost Note
If running MinIO for debug on local host then be sure to include the port number for example
http://localhost:9000
or
http:// IP address : port number
DIFFGRAM_MINIO_ENDPOINT_URL = 'http://localhost:9000'
MinIO Install
To use MinIO as the base storage layer:
Set these values:
DIFFGRAM_MINIO_ENDPOINT_URL
DIFFGRAM_MINIO_ACCESS_KEY_ID
DIFFGRAM_MINIO_ACCESS_KEY_SECRET
DIFFGRAM_S3_BUCKET_NAME
ML__DIFFGRAM_S3_BUCKET_NAME
DIFFGRAM_STATIC_STORAGE_PROVIDER = "minio"
For example
DIFFGRAM_MINIO_ENDPOINT_URL = 'http://10.0.0.27:9000'
DIFFGRAM_MINIO_ACCESS_KEY_ID = 'aaaaaaaaaaaaaaaaaa'
DIFFGRAM_MINIO_ACCESS_KEY_SECRET = 'bbbbbbbbbbbbbbbbbbb'
DIFFGRAM_S3_BUCKET_NAME = 'diffgram'
ML__DIFFGRAM_S3_BUCKET_NAME = 'diffgram_ml'
DIFFGRAM_STATIC_STORAGE_PROVIDER = 'minio'
Because MinIO uses S3 APIs, the S3 bucket and region names are reused
Optional
DIFFGRAM_MINIO_DISABLED_SSL_VERIFY
DIFFGRAM_S3_BUCKET_REGION
Setting Values Help
What do you mean by "Set values"? Where? -> Settings, Env, More
API address changes
If your network changes, MinIO may change the endpoint address.
This can cause a "connection refused" message.
Check the API console to see the address
Updated over 1 year ago