From 230d2b10f569fb75fa6d6e5ebc73fa616b9ec561 Mon Sep 17 00:00:00 2001 From: sunshuang1866 Date: Wed, 25 Feb 2026 13:51:02 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0minio=E7=9A=84ports=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunshuang1866 --- docker-compose.prod.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 91b0dc9..ac1f8fd 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -3,6 +3,19 @@ # 此文件不会被 docker compose up 自动加载 services: + minio: + # 生产环境仅暴露 Console 端口,S3 API 仅限容器间通信 + ports: + - "9001:9001" + mem_limit: 256m + cpus: "0.5" + logging: + driver: "json-file" + options: + max-size: "50m" + max-file: "5" + compress: "true" + backend: # 生产环境使用 gunicorn + uvicorn worker,多进程提升吞吐量 command: >