1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
{"repo": "bcefghj/multi-agent-education", "files": {".env.example": {"a36ff804cbe728381fdb62b17ab403b546714ef3": {"t": 1785603965.0126371, "n": 705, "h": "18ea7cdd58f4d736", "c": "# ===========================================\n# 多Agent智能教育系统 - 环境变量配置\n# ===========================================\n# 复制此文件为 .env 并填入你的真实值\n# cp .env.example .env\n# 注意:.env 文件已在 .gitignore 中,不会被上传到 GitHub\n\n# LLM API 配置(选择一个即可)\nOPENAI_API_KEY=your-openai-api-key-here\nOPENAI_MODEL=gpt-4o\n\n# 或使用 MiniMax\n# MINIMAX_API_KEY=your-minimax-api-key-here\n# MINIMAX_MODEL=MiniMax-M2.7\n\n# 或使用其他 LLM 提供商\n# ANTHROPIC_API_KEY=your-anthropic-api-key-here\n# DEEPSEEK_API_KEY=your-deepseek-api-key-here\n\n# 数据库配置\nDATABASE_URL=postgresql://postgres:postgres@localhost:5432/edu_agent\nREDIS_URL=redis://localhost:6379/0\n\n# 服务端口\nPYTHON_API_PORT=8000\nJAVA_API_PORT=8080\nGO_API_PORT=8081\nFRONTEND_PORT=3000\n\n# 日志级别\nLOG_LEVEL=INFO\n"}}, "docker-compose.yml": {"d18a30b109f80bdc0320c1f2151b3f6eda730d55": {"t": 1785603966.367193, "n": 899, "h": "45d8d876473802ec", "c": "version: '3.8'\n\nservices:\n # PostgreSQL 数据库\n postgres:\n image: postgres:16-alpine\n environment:\n POSTGRES_DB: edu_agent\n POSTGRES_USER: postgres\n POSTGRES_PASSWORD: postgres\n ports:\n - \"5432:5432\"\n volumes:\n - pgdata:/var/lib/postgresql/data\n\n # Redis 缓存\n redis:\n image: redis:7-alpine\n ports:\n - \"6379:6379\"\n\n # Python API 后端\n python-api:\n build:\n context: ./python\n dockerfile: Dockerfile\n ports:\n - \"8000:8000\"\n environment:\n - DATABASE_URL=postgresql+asyncpg://postgres:postgres@postgres:5432/edu_agent\n - REDIS_URL=redis://redis:6379/0\n - OPENAI_API_KEY=${OPENAI_API_KEY:-demo}\n depends_on:\n - postgres\n - redis\n\n # React 前端\n frontend:\n build:\n context: ./frontend\n dockerfile: Dockerfile\n ports:\n - \"3000:80\"\n depends_on:\n - python-api\n\nvolumes:\n pgdata:\n"}}}} |