clipwright/docker-compose.yml
juancarlos.cavero 9c9342c499 feat: Add Remotion integration for animated subtitles, hooks and effects
Replace static FFmpeg post-processing with Remotion-powered browser rendering:
- Animated word-by-word subtitles (pop, karaoke, glow styles) with real-time preview
- Hook overlays with entrance animations (spring, fade, slide-up)
- Video effects layer (zoom, brightness, contrast, saturate)
- Browser-side rendering via @remotion/web-renderer (WebCodecs)
- Editable transcript text in subtitle modal
- Layers accumulate across operations (subtitles + hook rendered together)
- Gemini EffectsConfig endpoint for structured JSON instead of fragile FFmpeg strings
- Render service (Node.js) as alternative server-side renderer
- New API endpoints: /api/clip/transcript, /api/effects/generate, /api/render

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 14:00:11 +02:00

40 lines
804 B
YAML

services:
backend:
build: .
container_name: openshorts-backend
ports:
- "8000:8000"
volumes:
- .:/app
- /app/__pycache__
- ./output:/app/output
restart: unless-stopped
frontend:
build: ./dashboard
container_name: openshorts-frontend
ports:
- "5175:5173"
volumes:
- ./dashboard:/app
- /app/node_modules
restart: unless-stopped
depends_on:
- backend
renderer:
build:
context: .
dockerfile: render-service/Dockerfile
container_name: openshorts-renderer
ports:
- "3100:3100"
volumes:
- ./output:/output
environment:
- REMOTION_BUNDLE_PATH=/app/remotion
- OUTPUT_DIR=/output
- PORT=3100
restart: unless-stopped
depends_on:
- backend