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
This commit is contained in:
Ryan Malloy 2025-09-05 10:46:42 -06:00
parent d9f1ecdcce
commit cd18a8da38
2 changed files with 0 additions and 18 deletions

View File

@ -336,7 +336,6 @@ docker-compose down -v
**Services included:** **Services included:**
- 🗄️ **PostgreSQL** - Database with Procrastinate job queue - 🗄️ **PostgreSQL** - Database with Procrastinate job queue
- 🔴 **Redis** - Caching and session storage
- 🎬 **App** - Main video processor demo - 🎬 **App** - Main video processor demo
- ⚡ **Worker** - Background job processor - ⚡ **Worker** - Background job processor
- 🧪 **Test** - Automated testing environment - 🧪 **Test** - Automated testing environment

View File

@ -25,18 +25,6 @@ services:
networks: networks:
- video_net - 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 # Video Processor API service
app: app:
@ -47,7 +35,6 @@ services:
environment: environment:
- DATABASE_URL=postgresql://video_user:video_password@postgres:5432/video_processor - DATABASE_URL=postgresql://video_user:video_password@postgres:5432/video_processor
- PROCRASTINATE_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 - PYTHONPATH=/app
volumes: volumes:
- .:/app - .:/app
@ -58,8 +45,6 @@ services:
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
redis:
condition: service_healthy
networks: networks:
- video_net - video_net
command: ["python", "examples/docker_demo.py"] command: ["python", "examples/docker_demo.py"]
@ -139,8 +124,6 @@ services:
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
redis:
condition: service_healthy
networks: networks:
- video_net - video_net
command: ["python", "examples/web_demo.py"] command: ["python", "examples/web_demo.py"]