build: 更新镜像版本至v0.2.1并优化配置
更新了Dockerfile中的基础镜像为slim版本,并调整了nginx配置以支持更大的请求体。同时,更新了所有相关镜像的版本号至v0.2.1,确保一致性。
This commit is contained in:
parent
e832029258
commit
3a3a529519
|
@ -1,5 +1,5 @@
|
||||||
# 使用 RAGFlow v0.17.2 镜像作为基础
|
# 使用 RAGFlow v0.17.2-slim 镜像作为基础
|
||||||
FROM infiniflow/ragflow:v0.17.2
|
FROM infiniflow/ragflow:v0.17.2-slim
|
||||||
|
|
||||||
# 设置工作目录(与基础镜像保持一致)
|
# 设置工作目录(与基础镜像保持一致)
|
||||||
WORKDIR /ragflow
|
WORKDIR /ragflow
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
docker build -t zstar1003/ragflowplus:v0.2.0 .
|
docker build -t zstar1003/ragflowplus:v0.2.1 .
|
|
@ -73,8 +73,10 @@ REDIS_PASSWORD=infini_rag_flow
|
||||||
|
|
||||||
SVR_HTTP_PORT=9380
|
SVR_HTTP_PORT=9380
|
||||||
|
|
||||||
# 镜像名称变更为zstar1003/ragflowplus:v0.2.0
|
# 镜像名称变更为zstar1003/ragflowplus:v0.2.1
|
||||||
RAGFLOW_IMAGE=zstar1003/ragflowplus:v0.2.0
|
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.
|
# The local time zone.
|
||||||
TIMEZONE='Asia/Shanghai'
|
TIMEZONE='Asia/Shanghai'
|
||||||
|
|
|
@ -31,7 +31,7 @@ services:
|
||||||
# 后台信息管理系统前端
|
# 后台信息管理系统前端
|
||||||
management-frontend:
|
management-frontend:
|
||||||
container_name: ragflowplus-management-frontend
|
container_name: ragflowplus-management-frontend
|
||||||
image: zstar1003/ragflowplus-management-web:v0.2.0
|
image: ${RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE}
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/management_nginx.conf:/etc/nginx/conf.d/default.conf
|
- ./nginx/management_nginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
ports:
|
ports:
|
||||||
|
@ -46,7 +46,7 @@ services:
|
||||||
# 后台信息管理系统后端
|
# 后台信息管理系统后端
|
||||||
management-backend:
|
management-backend:
|
||||||
container_name: ragflowplus-management-backend
|
container_name: ragflowplus-management-backend
|
||||||
image: zstar1003/ragflowplus-management-server:v0.2.0
|
image: ${RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE}
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -31,7 +31,7 @@ services:
|
||||||
# 后台信息管理系统前端
|
# 后台信息管理系统前端
|
||||||
management-frontend:
|
management-frontend:
|
||||||
container_name: ragflowplus-management-frontend
|
container_name: ragflowplus-management-frontend
|
||||||
image: zstar1003/ragflowplus-management-web:v0.2.0
|
image: ${RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE}
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/management_nginx.conf:/etc/nginx/conf.d/default.conf
|
- ./nginx/management_nginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
ports:
|
ports:
|
||||||
|
@ -46,7 +46,7 @@ services:
|
||||||
# 后台信息管理系统后端
|
# 后台信息管理系统后端
|
||||||
management-backend:
|
management-backend:
|
||||||
container_name: ragflowplus-management-backend
|
container_name: ragflowplus-management-backend
|
||||||
image: zstar1003/ragflowplus-management-server:v0.2.0
|
image: ${RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE}
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
management-frontend:
|
management-frontend:
|
||||||
container_name: ragflowplus-management-frontend
|
container_name: ragflowplus-management-frontend
|
||||||
image: zstar1003/ragflowplus-management-web:v0.2.0
|
image: zstar1003/ragflowplus-management-web:v0.2.1
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -17,7 +17,7 @@ services:
|
||||||
|
|
||||||
management-backend:
|
management-backend:
|
||||||
container_name: ragflowplus-management-backend
|
container_name: ragflowplus-management-backend
|
||||||
image: zstar1003/ragflowplus-management-server:v0.2.0
|
image: zstar1003/ragflowplus-management-server:v0.2.1
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
|
client_max_body_size 500M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
|
|
Loading…
Reference in New Issue