-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.deploy.example
More file actions
64 lines (58 loc) · 2.68 KB
/
.env.deploy.example
File metadata and controls
64 lines (58 loc) · 2.68 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# TopicLab - Production Deploy Environment
# Copy to .env.deploy, fill in, then paste full content into GitHub Secrets → DEPLOY_ENV
# cp .env.deploy.example .env.deploy
# -----------------------------------------------------------------------------
# Docker volume mounts (persist workspace & libs)
# -----------------------------------------------------------------------------
WORKSPACE_PATH=./workspace
LIBS_PATH=./backend/libs
# -----------------------------------------------------------------------------
# Frontend base path (must match host nginx location)
# -----------------------------------------------------------------------------
# world.tashan.chat 根路径部署(deploy.yml 生成 location /api/): VITE_BASE_PATH=/
# topic-lab 子路径部署: VITE_BASE_PATH=/topic-lab/
VITE_BASE_PATH=/
# -----------------------------------------------------------------------------
# Ports (must match nginx config)
# -----------------------------------------------------------------------------
FRONTEND_PORT=3000
BACKEND_PORT=8000
TOPICLAB_BACKEND_PORT=8001
# -----------------------------------------------------------------------------
# topiclab-backend (auth) - Required for production
# -----------------------------------------------------------------------------
# Optional when topiclab-backend is not on the same docker-compose network:
# RESONNET_BASE_URL=http://127.0.0.1:8000
# In docker-compose, topiclab-backend uses the internal backend service URL
# http://backend:8000. Do not reuse BACKEND_PORT for container-to-container calls.
# source-feed 话题标题/摘要生成使用 AI_GENERATION_BASE_URL + AI_GENERATION_API_KEY,
# 模型固定为 qwen3.5-plus
# SOURCE_FEED_AUTOMATION_ENABLED=true
# SOURCE_FEED_AUTOMATION_INTERVAL_SECONDS=1800
# SOURCE_FEED_AUTOMATION_FETCH_LIMIT=20
# SOURCE_FEED_AUTOMATION_SELECT_COUNT=1
# SOURCE_FEED_AUTOMATION_START_DISCUSSION=true
# SOURCE_FEED_AUTOMATION_DISCUSSION_MAX_TURNS=6000
DATABASE_URL=postgresql://user:pass@host:5432/topiclab
# DB_POOL_SIZE=5
# DB_POOL_MAX_OVERFLOW=10
PGSSLMODE=disable
JWT_SECRET=your-secret-key-change-in-production
# SMS (SMSBao). Omit for dev mode (codes in UI/logs).
# SMSBAO_USERNAME=
# SMSBAO_PASSWORD=
# -----------------------------------------------------------------------------
# Resonnet backend (use production API keys)
# -----------------------------------------------------------------------------
ANTHROPIC_API_KEY=
ANTHROPIC_BASE_URL=
ANTHROPIC_MODEL=
AI_GENERATION_BASE_URL=
AI_GENERATION_API_KEY=
AI_GENERATION_MODEL=
AUTH_SERVICE_BASE_URL=http://topiclab-backend:8000
INFORMATION_COLLECTION_BASE_URL=http://ic.nexus.tashan.ac.cn
AUTH_MODE=jwt
AUTH_REQUIRED=true
ACCOUNT_SYNC_ENABLED=true
PROFILE_HELPER_MAX_TOOL_ITERATIONS=40