clipwright/docker-compose.e2e.local.yml
pedro-bento ace54c6e77
Some checks are pending
CI / backend-tests (push) Waiting to run
CI / frontend-build (push) Waiting to run
chore: rename OpenShorts to Clipwright
- Rebrand all text, package/CLI (clipwright_cli), env vars (CLIPWRIGHT_*),
  localStorage keys, Docker container names and webhook header
- Rename/relocate assets, skills/, n8n examples, font map; delete dead MCP
  metadata (server.json, glama.json) and generated egg-info
- Canonical site URL -> https://git.pbento.pt/pedro-bento/clipwright
- Preserve fork provenance (upstream OpenShorts attribution in README/NOTICE/LICENSE)
2026-10-04 18:07:07 +01:00

19 lines
882 B
YAML

# Local-only override: remap host ports to avoid clashes with other running
# projects (e.g. another backend on :8000). Not for production.
# `!override` REPLACES the base ports list instead of appending to it.
services:
backend:
ports: !override
- "8001:8000"
environment:
# Point auth/magic-link/CORS at the local frontend instead of git.pbento.pt/pedro-bento/clipwright.
- FRONTEND_URL=http://localhost:5176
- ALLOWED_ORIGINS=http://localhost:5176,http://localhost:5175,http://localhost:8001
frontend:
ports: !override
- "5176:5173"
environment:
# Call the backend directly (not via the Vite proxy) so Google OAuth builds
# a redirect_uri of http://localhost:8001/... which matches the registered
# client. Cross-origin API calls are allowed by ALLOWED_ORIGINS above.
- VITE_API_URL=http://localhost:8001