feat(day4): complete environment setup - Docker services started successfully
This commit is contained in:
21
backend/.env.example
Normal file
21
backend/.env.example
Normal 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
6
frontend/.env.example
Normal file
@@ -0,0 +1,6 @@
|
||||
# API
|
||||
VITE_API_URL=http://localhost:3001
|
||||
VITE_API_TIMEOUT=30000
|
||||
|
||||
# Environment
|
||||
VITE_NODE_ENV=development
|
||||
Reference in New Issue
Block a user