From 2051ad5796044de4e385845dfb0b005c9abc4851 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 6 Oct 2026 15:54:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(compose)=20share=20the=20backend?= =?UTF-8?q?=20redis=20with=20the=20summary=20stack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The summary settings already default to the `redis` host, so `redis-summary` was unused. Remove it and depend on `redis`. Pin the summary Celery and task tracker URLs to DB 2 in `summary.dist` to isolate them from LiveKit and the backend Celery broker (DB 0) and the Django cache (DB 1). --- compose.yml | 13 +++++-------- env.d/development/summary.dist | 4 ++++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/compose.yml b/compose.yml index a7ba707df..5cb50bdf4 100644 --- a/compose.yml +++ b/compose.yml @@ -9,6 +9,8 @@ services: redis: image: redis:5 + ports: + - "6379:6379" mailcatcher: image: sj26/mailcatcher:latest @@ -271,11 +273,6 @@ services: - ./src/agents:/app - /app/.venv - redis-summary: - image: redis:5 - ports: - - "6379:6379" - app-summary-dev: build: context: src/summary @@ -290,7 +287,7 @@ services: volumes: - ./src/summary:/app depends_on: - - redis-summary + - redis celery-summary-transcribe: container_name: celery-summary-transcribe @@ -304,7 +301,7 @@ services: volumes: - ./src/summary:/app depends_on: - - redis-summary + - redis - app-summary-dev - garage develop: @@ -324,7 +321,7 @@ services: volumes: - ./src/summary:/app depends_on: - - redis-summary + - redis - app-summary-dev - garage develop: diff --git a/env.d/development/summary.dist b/env.d/development/summary.dist index 6a674931f..6d2035278 100644 --- a/env.d/development/summary.dist +++ b/env.d/development/summary.dist @@ -9,6 +9,10 @@ AWS_S3_ACCESS_KEY_ID="meet-access-key" AWS_S3_SECRET_ACCESS_KEY="meet-secret-access-key" AWS_S3_REGION_NAME="local" +CELERY_BROKER_URL="redis://redis:6379/2" +CELERY_RESULT_BACKEND="redis://redis:6379/2" +TASK_TRACKER_REDIS_URL="redis://redis:6379/2" + WHISPERX_BASE_URL="https://configure-your-url.com" WHISPERX_ASR_MODEL="large-v2" WHISPERX_API_KEY="your-secret-key"