support minio as object storage

This commit is contained in:
MaysWind
2024-07-28 16:06:32 +08:00
parent c92a9e61b0
commit d05736d0eb
7 changed files with 198 additions and 14 deletions
+19 -1
View File
@@ -93,12 +93,30 @@ level = info
log_path = log/ezbookkeeping.log
[storage]
# Object storage type, supports "local_filesystem" currently
# Object storage type, supports "local_filesystem" and "minio" currently
storage_type = local_filesystem
# For "local_filesystem" storage only, the storage root path (relative or absolute path)
local_filesystem_path = storage/
# For "minio" storage only, the minio connection configuration
minio_endpoint = 127.0.0.1:9000
minio_location =
minio_access_key_id =
minio_secret_access_key =
# For "minio" storage only, whether enable ssl for minio connection
minio_use_ssl = false
# For "minio" storage only, set to true to skip tls verification when connect minio
minio_skip_tls_verify = false
# For "minio" storage only, the minio bucket
minio_bucket = ezbookkeeping
# For "minio" storage only, the root path to store files in minio
minio_root_path = /
[uuid]
# Uuid generator type, supports "internal" currently
generator_type = internal