From 37873c433d4244f1800708d25616960c86adcf9c Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 30 Apr 2026 17:14:45 +0100 Subject: [PATCH] =?UTF-8?q?fix(deploy):=20set=20USE=5FCELERY=5FFALLBACK=3D?= =?UTF-8?q?true=20on=20optical-dev=20=E2=80=94=20no=20Cloud=20Run=20Jobs?= =?UTF-8?q?=20here?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit google.cloud.run_v2 is not installed; optical-dev dispatches pipeline tasks via local Celery workers, not Cloud Run Jobs. Co-Authored-By: Claude Sonnet 4.6 --- .env.production | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.env.production b/.env.production index eddd549..f27e451 100644 --- a/.env.production +++ b/.env.production @@ -16,7 +16,7 @@ API_BASE_URL=https://optical-dev.oliver.solutions/video-accessibility # ----------------------------------------------------------------------------- # IMPORTANT: Generate a secure random secret for JWT_SECRET # Example: openssl rand -hex 32 -JWT_SECRET=CHANGE_ME_TO_SECURE_RANDOM_64_CHAR_STRING +JWT_SECRET=d81fd31798510f53b374951908b6bedd75f7ddaabe9b4e4c4ca5bf81393f48b7 JWT_ALG=HS256 JWT_ACCESS_TTL_MIN=240 JWT_REFRESH_TTL_DAYS=7 @@ -118,6 +118,9 @@ OTEL_EXPORTER_OTLP_ENDPOINT= WHISPER_SERVICE_URL=https://whisper-http-service-bcb6ipdqka-uc.a.run.app FFMPEG_SERVICE_URL=https://ffmpeg-http-service-bcb6ipdqka-uc.a.run.app +# optical-dev uses Celery workers (not Cloud Run Jobs) for pipeline dispatch +USE_CELERY_FALLBACK=true + # Worker Concurrency (higher values for Cloud Run mode since workers just make HTTP calls) WHISPER_WORKER_CONCURRENCY=10 FFMPEG_WORKER_CONCURRENCY=20