# 本地/联调。部署项以外默认值见 `app/baked/algorithm.py`、`app/baked/pipeline.py`。 # 启动前执行 `alembic upgrade head`(`./start.sh` 已跑)。 # --- PostgreSQL --- POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_DB=operation_room POSTGRES_HOST=localhost POSTGRES_PORT=35432 # DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:35432/operation_room # --- 手术室站点配置(严格 JSON:仅含 video_rtsp_urls + voice_or_room_bindings)--- # 示例:app/resources/or_site_config.sample.json。一键联调会向该文件合并更新 video_rtsp_urls,须可写。 OR_SITE_CONFIG_JSON_FILE=app/resources/or_site_config.sample.json # --- 百度 --- BAIDU_APP_ID=31461922 BAIDU_API_KEY=8NjVDPUl64fg7InpxOka69TE BAIDU_SECRET_KEY=DzIO6BTdABb0jFu80jWGDfmpxFfwlvA0 BAIDU_ASR_DEV_PID=1537 # 人脸脚本 `scripts/baidu_face_1n_search.py` BAIDU_FACE_GROUP_ID_LIST=2_1 # --- MinIO --- MINIO_ENDPOINT=127.0.0.1:9000 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_BUCKET=operation-room-voice MINIO_SECURE=false # --- Demo 客户端联调 --- DEMO_CORS_ENABLED=true DEMO_CORS_ORIGINS=* DEMO_ORCHESTRATOR_ENABLED=true DEMO_ORCHESTRATOR_RTSP_PORT=18554 DEMO_ORCHESTRATOR_RTSP_JSON_HOST=127.0.0.1