ci: 添加 GitHub Actions 部署配置并删除无用文件

添加了用于触发部署的 GitHub Actions 配置文件,仅当 `main` 分支的 `docs` 目录发生变更时触发。同时删除了不再使用的 ISSUE_TEMPLATE 文件,并清理了 docker-compose.yml 中的注释代码,以保持代码库的整洁。
This commit is contained in:
zstar 2025-05-02 13:29:48 +08:00
parent 3f5c0755ec
commit 6952f021fa
7 changed files with 28 additions and 71 deletions

View File

@ -1,29 +0,0 @@
name: Subtask
description: "Propose a subtask for RAGFlow-Plus"
title: "[Subtask]: "
labels: [subtask]
body:
- type: textarea
attributes:
label: Parent Issue
description: Write the ID of the parent issue
placeholder: "Parent issue: #"
validations:
required: true
- type: textarea
attributes:
label: Detail of Subtask
description: |
Describe the functions that this subtask should implement
validations:
required: true
- type: textarea
attributes:
label: Describe implementation you've considered
description: A clear and concise description of implementation you've considered or investigated.
validations:
required: false

6
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,6 @@
on:
push:
branches:
- main # 仅 main 分支的推送触发
paths:
- 'docs/**' # 仅 docs 目录变更时触发

View File

@ -81,6 +81,13 @@ RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE=zstar1003/ragflowplus-management-server:v0.2
# The local time zone.
TIMEZONE='Asia/Shanghai'
# Uncomment the following line if you have limited access to huggingface.co:
# HF_ENDPOINT=https://hf-mirror.com
# Optimizations for MacOS
# Uncomment the following line if your operating system is MacOS:
# MACOS=1
# 后端允许上传的最大文件大小
MAX_CONTENT_LENGTH=10737418240 # 10GB

View File

@ -69,41 +69,4 @@ services:
- ragflow
restart: on-failure
extra_hosts:
- "host.docker.internal:host-gateway"
# # vllm 嵌入模型
# vllm-bge:
# container_name: vllm-bge
# image: vllm/vllm-openai:latest
# ipc: host
# volumes:
# - ./models/bge-m3:/models
# command: [
# "--model", "/models",
# "--served-model-name", "bge-m3",
# "--dtype", "float16",
# "--gpu-memory-utilization", "0.9",
# ]
# ports:
# - "8000:8000"
# networks:
# - ragflow
# # vllm 语言模型
# vllm-deepseek:
# container_name: vllm-deepseek
# image: vllm/vllm-openai:latest
# ipc: host
# volumes:
# - ./models/DeepSeek-R1-1.5B:/models
# command: [
# "--model", "/models",
# "--served-model-name", "deepseek-r1",
# "--dtype", "float16",
# "--tensor-parallel-size", "1",
# "--max-model-len", "4096"
# ]
# ports:
# - "8001:8000"
# networks:
# - ragflow
- "host.docker.internal:host-gateway"

View File

@ -28,6 +28,16 @@
"enable": true,
"max_time": 400
},
"latex-delimiter-config": {
"display": {
"left": "$$",
"right": "$$"
},
"inline": {
"left": "$",
"right": "$"
}
},
"llm-aided-config": {
"formula_aided": {
"api_key": "your_api_key",
@ -48,5 +58,5 @@
"enable": false
}
},
"config_version": "1.2.0"
"config_version": "1.2.1"
}

View File

@ -4,7 +4,7 @@
- [ ] 修复v0.2.1版本中已知问题
- [ ] 前台知识库界面,增加文本块关联的图片预览显示,并增加图像获取接口
- [ ] 前台聊天界面,增加字体样式动态配置
- [ ] 后台管理系统中,调整知识库创建逻辑,支持为指定用户创建私人知识库
- [ ] 后台管理系统中,调整知识库创建逻辑,支持为指定用户创建私人知识库,并增加对知识库属性的修改
- [ ] 后台管理系统中,优化用户配置管理交互
- [ ] 后台管理系统中,整体优化表格的时间排序,方便查看显示最新添加的记录
- [ ] 后台管理系统中,增加用户会话管理功能

View File

@ -6,8 +6,8 @@ tabulate==0.9.0
Werkzeug==3.1.3
PyJWT==2.10.1
dotenv==0.9.9
magic-pdf[full]==1.3.0
transformers==4.49.0
magic-pdf==1.3.10
transformers==4.51.3
elasticsearch==8.12.0
minio==7.2.4
strenum==0.4.15