fix: add Cloud Run URLs to .env.local for docker-compose

Docker-compose reads from root .env (symlinked to .env.local), not
backend/.env. Added WHISPER_SERVICE_URL, FFMPEG_SERVICE_URL, and
worker concurrency settings to enable Cloud Run autoscaling.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael 2026-01-02 10:54:27 -06:00
parent b6cec63656
commit 77dc58b124

View file

@ -95,6 +95,18 @@ CORS_ORIGINS=http://localhost:6001,http://localhost:5173,http://localhost:3000
SENTRY_DSN=
OTEL_EXPORTER_OTLP_ENDPOINT=
# -----------------------------------------------------------------------------
# Cloud Run Services (Autoscaling for CPU-intensive work)
# -----------------------------------------------------------------------------
# When set, Whisper and FFmpeg operations are offloaded to Cloud Run
WHISPER_SERVICE_URL=https://whisper-http-service-bcb6ipdqka-uc.a.run.app
FFMPEG_SERVICE_URL=https://ffmpeg-http-service-bcb6ipdqka-uc.a.run.app
# Worker concurrency (higher values since workers just make HTTP calls)
WHISPER_WORKER_CONCURRENCY=10
FFMPEG_WORKER_CONCURRENCY=20
WORKER_CONCURRENCY=8
# =============================================================================
# LOCAL DEVELOPMENT NOTES
# =============================================================================