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 # =============================================================================