Some checks failed
部署管理后台 / 🧪 测试和构建 (push) Failing after 1m25s
部署管理后台 / 🔒 安全扫描 (push) Has been skipped
部署后端服务 / 🚀 构建并部署 (push) Failing after 47s
部署前端网站 / 🧪 测试和构建 (push) Failing after 2m36s
部署管理后台 / 🚀 部署到生产环境 (push) Has been skipped
部署后端服务 / 🔄 回滚部署 (push) Failing after 3s
部署前端网站 / 🚀 部署到生产环境 (push) Has been skipped
部署管理后台 / 🔄 回滚部署 (push) Has been skipped
- 添加 backend/.env.example 环境变量模板 - 添加 backend/docker-compose.example.yml Docker 配置示例 - 更新 frontend/.env.local 配置注释
11 lines
305 B
Plaintext
11 lines
305 B
Plaintext
# API配置 - 连接到后端 go-zero API
|
|
NEXT_PUBLIC_API_URL=http://localhost:8080/api/v1
|
|
|
|
# Mock API (仅开发时使用)
|
|
NEXT_PUBLIC_MOCK_API_URL=http://localhost:3001/api
|
|
|
|
# 开发环境配置
|
|
NODE_ENV=development
|
|
|
|
# 启用真实API (临时改为false以解决SSR问题)
|
|
NEXT_PUBLIC_USE_REAL_API=false |