From cd18a8da38698d7bbfd9bf23597d60b90ae4ba51 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Fri, 5 Sep 2025 10:46:42 -0600 Subject: [PATCH] Remove unnecessary Redis service from Docker setup Redis was included but not actually used by the video processor. Only PostgreSQL is needed for Procrastinate job queue functionality. - Remove redis service from docker-compose.yml - Remove Redis dependencies from app and demo services - Update README to reflect simplified service architecture --- README.md | 1 - docker-compose.yml | 17 ----------------- 2 files changed, 18 deletions(-) diff --git a/README.md b/README.md index 8bae9db..b3d7b87 100644 --- a/README.md +++ b/README.md @@ -336,7 +336,6 @@ docker-compose down -v **Services included:** - ๐Ÿ—„๏ธ **PostgreSQL** - Database with Procrastinate job queue -- ๐Ÿ”ด **Redis** - Caching and session storage - ๐ŸŽฌ **App** - Main video processor demo - โšก **Worker** - Background job processor - ๐Ÿงช **Test** - Automated testing environment diff --git a/docker-compose.yml b/docker-compose.yml index 30233de..d7fc6ad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,18 +25,6 @@ services: networks: - video_net - # Redis for additional caching (optional) - redis: - image: redis:7-alpine - ports: - - "6379:6379" - healthcheck: - test: ["CMD", "redis-cli", "ping"] - interval: 10s - timeout: 5s - retries: 5 - networks: - - video_net # Video Processor API service app: @@ -47,7 +35,6 @@ services: environment: - DATABASE_URL=postgresql://video_user:video_password@postgres:5432/video_processor - PROCRASTINATE_DATABASE_URL=postgresql://video_user:video_password@postgres:5432/video_processor - - REDIS_URL=redis://redis:6379/0 - PYTHONPATH=/app volumes: - .:/app @@ -58,8 +45,6 @@ services: depends_on: postgres: condition: service_healthy - redis: - condition: service_healthy networks: - video_net command: ["python", "examples/docker_demo.py"] @@ -139,8 +124,6 @@ services: depends_on: postgres: condition: service_healthy - redis: - condition: service_healthy networks: - video_net command: ["python", "examples/web_demo.py"]