完善 Minio

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
2025-08-14 13:16:52 +08:00
parent a6fcabd56e
commit 110c93e371
2 changed files with 4 additions and 12 deletions
+2 -10
View File
@@ -18,16 +18,8 @@ additionalProperties:
- default: 9000 - default: 9000
edit: true edit: true
envKey: PANEL_APP_PORT_API envKey: PANEL_APP_PORT_API
labelZh: API 端口 (映射内部端口) labelZh: API 端口
labelEn: API Port (mapped internal port) labelEn: API Port
required: true
rule: paramPort
type: number
- default: 9000
edit: true
envKey: MINIO_API_PORT
labelZh: API 内部端口
labelEn: Internal API Port
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
+2 -2
View File
@@ -13,8 +13,8 @@ services:
- 1panel-network - 1panel-network
ports: ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP} - ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${PANEL_APP_PORT_API}:${MINIO_API_PORT} - ${PANEL_APP_PORT_API}:${PANEL_APP_PORT_API}
command: server --console-address :${PANEL_APP_PORT_HTTP} --address :${MINIO_API_PORT} --json command: server --console-address :${PANEL_APP_PORT_HTTP} --address :${PANEL_APP_PORT_API} --json
env_file: env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env} - ${ENV_FILE:-/etc/1panel/envs/default.env}