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:
parent
b6cec63656
commit
77dc58b124
1 changed files with 12 additions and 0 deletions
12
.env.local
12
.env.local
|
|
@ -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
|
||||
# =============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue