finalize medical consultation agent backend

This commit is contained in:
刘金宝
2026-06-03 15:51:46 +08:00
parent 93d9e1c6a5
commit eb43573a44
33 changed files with 1063 additions and 281 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
APP_NAME=Medical Consultation Agent Demo
APP_NAME=Medical Consultation Agent
APP_ENV=local
APP_DEBUG=true
API_V1_PREFIX=/api/v1
@@ -8,8 +8,8 @@ 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>@mysql:3306/medical?charset=utf8mb4
DATABASE_URL=mysql+pymysql://root:<password>@mysql:3306/medical?charset=utf8mb4
MYSQL_URL=mysql+aiomysql://root:<password>@mysql:3306/medical_platform?charset=utf8mb4
DATABASE_URL=mysql+pymysql://root:<password>@mysql:3306/medical_platform?charset=utf8mb4
# Redis
RUNTIME_MEMORY_BACKEND=redis
@@ -17,7 +17,7 @@ REDIS_URL=redis://redis:6379/0
RUNTIME_MEMORY_TTL_SECONDS=7200
# Django user center auth for frontend integration
AUTH_USER_ME_URL=http://192.168.2.76:8000/api/user/users/me/
AUTH_USER_ME_URL=http://django:8000/api/user/users/me/
AUTH_TIMEOUT_SECONDS=5
AUTH_CACHE_TTL_SECONDS=300