refactor: minio 支持设置文件分享地址 (#32)
This commit is contained in:
parent
128ac0240b
commit
69b55a2245
|
|
@ -37,6 +37,16 @@
|
||||||
"default": 9001,
|
"default": 9001,
|
||||||
"rule": "paramPort",
|
"rule": "paramPort",
|
||||||
"envKey": "PORT_API"
|
"envKey": "PORT_API"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"labelZh": "分享文件地址",
|
||||||
|
"labelEn": "SHARE ADRESS",
|
||||||
|
"required": true,
|
||||||
|
"default": "http://localhost",
|
||||||
|
"rule": "paramExtUrl",
|
||||||
|
"envKey": "MINIO_SERVER_URL",
|
||||||
|
"edit": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -11,6 +11,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
||||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
||||||
|
MINIO_SERVER_URL: ${MINIO_SERVER_URL}:${PORT_API}
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: "5M"
|
max-size: "5M"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue