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:
parent
d9f1ecdcce
commit
cd18a8da38
@ -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
|
||||
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user