feat: 语音确认、联调与运维增强
- 语音:序数解析(第一个/第二个等)、解析失败计数与 API detail.retry_remaining; 百度 ASR 固定 dev_pid 为普通话;SurgeryPipelineError 支持 extra 并入 HTTP detail。 - Demo:demo 路由与假 RTSP、客户端 index 与 README;BackendResolver 与配置调整。 - 可观测:消耗 TSV 日志、语音文件日志、终端 Markdown 辅助;相关测试与依赖更新。 - 注意:.env 仍被 gitignore,本地密钥不会进入本提交。 Made-with: Cursor
This commit is contained in:
7
start.sh
7
start.sh
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Start PostgreSQL from docker-compose.dev.yml and run the FastAPI app on the host.
|
||||
# Start PostgreSQL + MinIO from docker-compose.dev.yml and run FastAPI on the host.
|
||||
# Usage: ./start.sh
|
||||
# Optional: SKIP_DOCKER=1 to skip Compose and use an existing PostgreSQL instance.
|
||||
# Same flow but TRUNCATE app tables before the server: ./start_fresh.sh
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -11,7 +12,9 @@ cd "$ROOT"
|
||||
COMPOSE_FILE="${COMPOSE_FILE:-docker-compose.dev.yml}"
|
||||
|
||||
if [[ "${SKIP_DOCKER:-0}" != "1" ]]; then
|
||||
docker compose -f "$COMPOSE_FILE" up -d db
|
||||
echo "Starting Docker Compose services: db, minio ($COMPOSE_FILE)"
|
||||
docker compose -f "$COMPOSE_FILE" up -d db minio
|
||||
echo "MinIO API: http://127.0.0.1:${MINIO_PORT:-9000} console: http://127.0.0.1:${MINIO_CONSOLE_PORT:-9001}"
|
||||
echo "Waiting for PostgreSQL..."
|
||||
for _ in $(seq 1 60); do
|
||||
if docker compose -f "$COMPOSE_FILE" exec -T db \
|
||||
|
||||
Reference in New Issue
Block a user