feat(day4): complete environment setup - Docker services started successfully

This commit is contained in:
AI Clinical Dev Team
2025-10-10 15:16:50 +08:00
parent bdc7de8043
commit fa5b8b48ec
2 changed files with 27 additions and 0 deletions

21
backend/.env.example Normal file
View File

@@ -0,0 +1,21 @@
# Database
DATABASE_URL=postgresql://postgres:postgres123@localhost:5432/ai_clinical_research?schema=public
# Redis
REDIS_URL=redis://localhost:6379
# JWT
JWT_SECRET=your-secret-key-change-in-production
JWT_EXPIRES_IN=7d
# LLM API
DEEPSEEK_API_KEY=your-deepseek-api-key
DASHSCOPE_API_KEY=your-qwen-api-key
# Dify
DIFY_API_URL=http://localhost:3000
DIFY_API_KEY=your-dify-api-key
# Server
PORT=3001
NODE_ENV=development

6
frontend/.env.example Normal file
View File

@@ -0,0 +1,6 @@
# API
VITE_API_URL=http://localhost:3001
VITE_API_TIMEOUT=30000
# Environment
VITE_NODE_ENV=development