- Extends env variable `MINIO_BUCKET` for more flexibility over bucket name - Introduces env variable for `MINIO_PATH_PREFIX` for flexibility over bucket paths - Decouples minio client from New method - Provides methods for generating bucket name, object name with path using bucket related env variables - Adds tests - Fixes issue#295
45 lines
980 B
YAML
45 lines
980 B
YAML
docs:
|
|
title: Object (file) storage
|
|
intro:
|
|
The MinIO integration allows you to replace local storage with cloud storage.
|
|
When configured, `STORAGE_PATH` is not needed.
|
|
|
|
props:
|
|
- name: path
|
|
env: STORAGE_PATH
|
|
default: "var/store"
|
|
description: Location where uploaded files are stored.
|
|
|
|
- name: minioEndpoint
|
|
env: MINIO_ENDPOINT
|
|
|
|
- name: minioSecure
|
|
type: bool
|
|
env: MINIO_SECURE
|
|
default: true
|
|
|
|
- name: minioAccessKey
|
|
env: MINIO_ACCESS_KEY
|
|
|
|
- name: minioSecretKey
|
|
env: MINIO_SECRET_KEY
|
|
|
|
- name: minioSSECKey
|
|
env: MINIO_SSEC_KEY
|
|
|
|
- name: minioBucket
|
|
env: MINIO_BUCKET
|
|
default: "{component}"
|
|
description: |-
|
|
`component` placeholder is replaced with service name (e.g system).
|
|
|
|
- name: minioPathPrefix
|
|
env: MINIO_PATH_PREFIX
|
|
description: |-
|
|
`component` placeholder is replaced with service name (e.g system).
|
|
|
|
- name: minioStrict
|
|
type: bool
|
|
env: MINIO_STRICT
|
|
default: false
|