From 3a3a529519842a0088fc9c9da0125c53b93273c4 Mon Sep 17 00:00:00 2001 From: zstar <65890619+zstar1003@users.noreply.github.com> Date: Fri, 25 Apr 2025 22:30:23 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E8=87=B3v0.2.1=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新了Dockerfile中的基础镜像为slim版本,并调整了nginx配置以支持更大的请求体。同时,更新了所有相关镜像的版本号至v0.2.1,确保一致性。 --- Dockerfile | 4 ++-- bulid_order.txt | 2 +- docker/.env | 6 ++++-- docker/docker-compose.yml | 4 ++-- docker/docker-compose_gpu.yml | 4 ++-- management/docker-compose.yml | 4 ++-- management/nginx.conf | 2 ++ 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09d5b9d..6ba9358 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -# 使用 RAGFlow v0.17.2 镜像作为基础 -FROM infiniflow/ragflow:v0.17.2 +# 使用 RAGFlow v0.17.2-slim 镜像作为基础 +FROM infiniflow/ragflow:v0.17.2-slim # 设置工作目录(与基础镜像保持一致) WORKDIR /ragflow diff --git a/bulid_order.txt b/bulid_order.txt index 76c2245..a465d7e 100644 --- a/bulid_order.txt +++ b/bulid_order.txt @@ -1 +1 @@ -docker build -t zstar1003/ragflowplus:v0.2.0 . \ No newline at end of file +docker build -t zstar1003/ragflowplus:v0.2.1 . \ No newline at end of file diff --git a/docker/.env b/docker/.env index 053aae9..c6f63fd 100644 --- a/docker/.env +++ b/docker/.env @@ -73,8 +73,10 @@ REDIS_PASSWORD=infini_rag_flow SVR_HTTP_PORT=9380 -# 镜像名称变更为zstar1003/ragflowplus:v0.2.0 -RAGFLOW_IMAGE=zstar1003/ragflowplus:v0.2.0 +# 镜像名称变更为zstar1003/ragflowplus:v0.2.1 +RAGFLOW_IMAGE=zstar1003/ragflowplus:v0.2.1 +RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE=zstar1003/ragflowplus-management-web:v0.2.1 +RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE=zstar1003/ragflowplus-management-server:v0.2.1 # The local time zone. TIMEZONE='Asia/Shanghai' diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 47c2da8..13e16c8 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -31,7 +31,7 @@ services: # 后台信息管理系统前端 management-frontend: container_name: ragflowplus-management-frontend - image: zstar1003/ragflowplus-management-web:v0.2.0 + image: ${RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE} volumes: - ./nginx/management_nginx.conf:/etc/nginx/conf.d/default.conf ports: @@ -46,7 +46,7 @@ services: # 后台信息管理系统后端 management-backend: container_name: ragflowplus-management-backend - image: zstar1003/ragflowplus-management-server:v0.2.0 + image: ${RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE} ports: - "5000:5000" volumes: diff --git a/docker/docker-compose_gpu.yml b/docker/docker-compose_gpu.yml index e4e3742..8761626 100644 --- a/docker/docker-compose_gpu.yml +++ b/docker/docker-compose_gpu.yml @@ -31,7 +31,7 @@ services: # 后台信息管理系统前端 management-frontend: container_name: ragflowplus-management-frontend - image: zstar1003/ragflowplus-management-web:v0.2.0 + image: ${RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE} volumes: - ./nginx/management_nginx.conf:/etc/nginx/conf.d/default.conf ports: @@ -46,7 +46,7 @@ services: # 后台信息管理系统后端 management-backend: container_name: ragflowplus-management-backend - image: zstar1003/ragflowplus-management-server:v0.2.0 + image: ${RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE} ports: - "5000:5000" volumes: diff --git a/management/docker-compose.yml b/management/docker-compose.yml index 4869744..bc0dc95 100644 --- a/management/docker-compose.yml +++ b/management/docker-compose.yml @@ -1,7 +1,7 @@ services: management-frontend: container_name: ragflowplus-management-frontend - image: zstar1003/ragflowplus-management-web:v0.2.0 + image: zstar1003/ragflowplus-management-web:v0.2.1 build: context: . dockerfile: Dockerfile @@ -17,7 +17,7 @@ services: management-backend: container_name: ragflowplus-management-backend - image: zstar1003/ragflowplus-management-server:v0.2.0 + image: zstar1003/ragflowplus-management-server:v0.2.1 build: context: . dockerfile: Dockerfile diff --git a/management/nginx.conf b/management/nginx.conf index 859c745..df66020 100644 --- a/management/nginx.conf +++ b/management/nginx.conf @@ -1,6 +1,8 @@ server { listen 80; + client_max_body_size 500M; + location / { root /usr/share/nginx/html; try_files $uri $uri/ /index.html;