forked from SHUzhangshuo/ArborVista
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
36 lines (29 loc) · 1.01 KB
/
Copy pathenv.example
File metadata and controls
36 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ArborVista 环境变量配置示例
# 复制此文件为 .env 并填入实际值
# Flask配置
FLASK_ENV=development
SECRET_KEY=your-secret-key-here
# MinerU配置
# 方式一:使用在线API(默认)
MINERU_API_TOKEN=your-mineru-api-token-here
MINERU_USE_LOCAL=false
MINERU_LOCAL_URL=http://127.0.0.1:30000
# 方式二:使用本地调用(离线模式)
# MINERU_USE_LOCAL=true
# MINERU_LOCAL_URL=http://127.0.0.1:30000
# 注意:使用本地模式时,不需要设置 MINERU_API_TOKEN
# RAG/LLM配置(用于智能问答功能)
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_BASE_URL=http://your-api-server-url/v1/
OPENAI_MODEL=gpt-5
OPENAI_TEMPERATURE=0.7
# 应用配置
APP_NAME=ArborVista
APP_VERSION=1.0.0
# 服务器端口配置
BACKEND_PORT=6006
FRONTEND_PORT=8008
# 端口映射配置(用于服务器部署)
# 格式:本地端口 -> 服务器URL
PORT_6006_MAPPING=https://u486956-b5fb-82b008e7.westb.seetacloud.com:8443
PORT_6008_MAPPING=https://uu486956-b5fb-82b008e7.westb.seetacloud.com:8443