refactor: minio 支持设置文件分享地址 (#32)

This commit is contained in:
wanghe 2023-04-27 14:11:40 +08:00 committed by GitHub
parent 560305fda4
commit 31fedbff86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -37,6 +37,16 @@
"default": 9001,
"rule": "paramPort",
"envKey": "PORT_API"
},
{
"type": "text",
"labelZh": "分享文件地址",
"labelEn": "SHARE ADRESS",
"required": true,
"default": "http://localhost",
"rule": "paramExtUrl",
"envKey": "MINIO_SERVER_URL",
"edit": true
}
]
}

View File

@ -11,6 +11,7 @@ services:
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
MINIO_SERVER_URL: ${MINIO_SERVER_URL}:${PORT_API}
logging:
options:
max-size: "5M"