clipwright/docker-compose.yml
pedro-bento 59e0db8c24 chore: remove dead code, unused assets, and the server-render chain
Backend:
- Drop unused imports/locals and zero-reference helpers (truncate_ip,
  in_split, GEMINI_PROMPT_TEMPLATE, legacy subtitles SRT path, dead paths)
- Remove unwired features (delete_uploaded, mark_ai_generated, unmark_job,
  compact_words, restoring_static restorer hook, gemini_worker __main__)
- Remove shelved panel_layout module + its flags/tests
- Remove the /api/render proxy + RENDER_SERVICE_URL

Frontend:
- Delete App.css, react.svg, vite.svg, agent screenshot, demo mp4s
- Remove dead exports (downloadBlobUrl, consent reopen machinery, dead zod
  schemas/CITED_STATS) and unused deps (@remotion/media-utils, zod)
- Drop the /render dev proxy; rewrite dashboard README

Repo/config:
- Delete render-service/ and top-level remotion/ (superseded by the
  dashboard's in-browser Remotion copy); drop the compose renderer service
- Delete docker-compose.e2e.local.yml and 4 unreferenced screenshots
- Prune .env.example dead keys, add GEMINI_API_KEY/MAX_CONCURRENT_JOBS
- Tighten .dockerignore/.gitignore; add dashboard lint to CI
- Fix stale compliance doc + README structure

Backend 709 passed / 18 skipped; dashboard lint+build green; compose valid.
2026-10-04 21:24:42 +01:00

31 lines
792 B
YAML

services:
backend:
build: .
container_name: clipwright-backend
ports:
- "8000:8000"
volumes:
- .:/app
- /app/__pycache__
- ./output:/app/output
restart: unless-stopped
frontend:
build:
context: ./dashboard
target: dev
container_name: clipwright-frontend
ports:
- "5175:5173"
volumes:
- ./dashboard:/app
- /app/node_modules
environment:
# Optional OpenPanel analytics. Defined (empty) so Vite resolves the
# %VITE_OPENPANEL_*% placeholders in index.html instead of warning that
# they're undefined; empty keeps analytics fully inert. See index.html.
- VITE_OPENPANEL_API_URL=
- VITE_OPENPANEL_CLIENT_ID=
restart: unless-stopped
depends_on:
- backend