build: 更新镜像版本至v0.2.1并优化配置

更新了Dockerfile中的基础镜像为slim版本,并调整了nginx配置以支持更大的请求体。同时,更新了所有相关镜像的版本号至v0.2.1,确保一致性。
This commit is contained in:
zstar 2025-04-25 22:30:23 +08:00
parent e832029258
commit 3a3a529519
7 changed files with 15 additions and 11 deletions

View File

@ -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

View File

@ -1 +1 @@
docker build -t zstar1003/ragflowplus:v0.2.0 .
docker build -t zstar1003/ragflowplus:v0.2.1 .

View File

@ -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'

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -1,6 +1,8 @@
server {
listen 80;
client_max_body_size 500M;
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;