kv-netflix/docker-compose.yml
vndangkhoa 48cc3d5352 fix(ci): Update Docker image to vndangkhoa/streamflix
- Changed CI/CD to push to streamflix instead of streamflow
- Updated docker-compose.yml image reference
- Both backend and frontend will be rebuilt with correct secret key
2026-01-03 07:18:06 +07:00

36 lines
876 B
YAML

version: '3.8'
services:
# StreamFlow Unified (Backend + Frontend)
app:
image: vndangkhoa/streamflix:latest
platform: linux/amd64
ports:
- "3478:8000"
environment:
- REDIS_URL=redis://redis:6379
- DATABASE_URL=sqlite:///./data/streamflow.db
- STREAMFLIX_SECRET_KEY=sf_tv_secure_9s8d7f6g5h4j3k2l1
- PYTHONUNBUFFERED=1
volumes:
- ./backend/data:/app/data
depends_on:
redis:
condition: service_healthy
restart: unless-stopped
# Redis Cache
redis:
image: redis:7-alpine
platform: linux/amd64
ports:
- "6379:6379"
volumes:
- ./redis-data:/data
restart: unless-stopped
command: redis-server --appendonly yes
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 3s
retries: 5