prepare backend-only fastapi deployment
This commit is contained in:
+5
-4
@@ -2,23 +2,24 @@ APP_NAME=Medical Consultation Agent Demo
|
||||
APP_ENV=local
|
||||
APP_DEBUG=true
|
||||
API_V1_PREFIX=/api/v1
|
||||
APP_HOST=127.0.0.1
|
||||
APP_PORT=9000
|
||||
|
||||
# MySQL
|
||||
# MYSQL_URL keeps the original async style URL for future async SQLAlchemy.
|
||||
# DATABASE_URL is optional; the current sync backend will normalize MYSQL_URL to mysql+pymysql automatically.
|
||||
MYSQL_URL=mysql+aiomysql://root:password@localhost:3306/medical_consultation_agent?charset=utf8mb4
|
||||
MYSQL_URL=mysql+aiomysql://root:<password>@mysql:3306/medical?charset=utf8mb4
|
||||
DATABASE_URL=mysql+pymysql://root:<password>@mysql:3306/medical?charset=utf8mb4
|
||||
|
||||
# Redis
|
||||
RUNTIME_MEMORY_BACKEND=redis
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
RUNTIME_MEMORY_TTL_SECONDS=7200
|
||||
|
||||
# Django user center auth for frontend integration
|
||||
AUTH_VALIDATE_ENABLED=false
|
||||
AUTH_USER_ME_URL=http://192.168.2.76:8000/api/user/users/me/
|
||||
AUTH_TIMEOUT_SECONDS=5
|
||||
AUTH_CACHE_TTL_SECONDS=300
|
||||
AUTH_ALLOW_DEMO_USER_ID=true
|
||||
|
||||
# OpenAI-compatible LLM
|
||||
LLM_BASE_URL=https://api.deepseek.com/chat/completions
|
||||
|
||||
Reference in New Issue
Block a user