Your Name 86a7865808 feat: 添加 Docker 部署配置 + 安全加固 + 数据导出 API
- 新增 backend/Dockerfile + frontend/Dockerfile (多阶段构建)
- 新增 docker-compose.yml (postgres + redis + backend + frontend)
- 新增 .env.example 模板 (前后端)
- 新增 export API: 任务数据导出 + 审计日志导出 (CSV + 流式响应)
- 安全加固: CORS 从环境变量配置, 安全 headers 中间件
- 生产环境自动禁用 API 文档 (Swagger/Redoc)
- 添加 ENVIRONMENT, CORS_ORIGINS 配置项
- 前端启用 Next.js standalone 输出模式

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 17:43:28 +08:00

14 lines
433 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ===========================
# 秒思智能审核平台 - 前端环境变量
# ===========================
# 复制此文件为 .env.local 并填入实际值
# cp .env.example .env.local
# --- API 地址 ---
# 后端 API 基础 URL浏览器端访问
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
# --- Mock 模式 ---
# 设为 true 使用前端 mock 数据development 环境下默认开启)
NEXT_PUBLIC_USE_MOCK=false