Skip to content

Commit 31fedbf

Browse files
refactor: minio 支持设置文件分享地址 (#32)
1 parent 560305f commit 31fedbf

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

apps/minio/versions/RELEASE.2022-08-13T21-54-44Z/config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@
3737
"default": 9001,
3838
"rule": "paramPort",
3939
"envKey": "PORT_API"
40+
},
41+
{
42+
"type": "text",
43+
"labelZh": "分享文件地址",
44+
"labelEn": "SHARE ADRESS",
45+
"required": true,
46+
"default": "http://localhost",
47+
"rule": "paramExtUrl",
48+
"envKey": "MINIO_SERVER_URL",
49+
"edit": true
4050
}
4151
]
4252
}

apps/minio/versions/RELEASE.2022-08-13T21-54-44Z/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
1313
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
14+
MINIO_SERVER_URL: ${MINIO_SERVER_URL}:${PORT_API}
1415
logging:
1516
options:
1617
max-size: "5M"

0 commit comments

Comments
 (0)