From 77dc58b12482156ee6ddefa19bbcfc0a79a90a05 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 2 Jan 2026 10:54:27 -0600 Subject: [PATCH] fix: add Cloud Run URLs to .env.local for docker-compose MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .env.local | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.env.local b/.env.local index 3725b4f..4f3c249 100644 --- a/.env.local +++ b/.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 # =============================================================================