clipwright/docker-compose.e2e.local.yml
juancarlos.cavero d298f69f12 feat(cloud): bake bgutil 720p into image, profile menu, video-URL info, trial→pricing
- Dockerfile: bake bgutil PO-token provider in script mode (no sidecar); 720p verified
- main.py / cloud/metering.py: support BGUTIL_SCRIPT_PATH (script mode) alongside HTTP
- docker-compose.cloud.yml: drop bgutil sidecar; .env.cloud.example documents script mode
- docker-compose.e2e.local.yml: local FRONTEND_URL/ALLOWED_ORIGINS/VITE_API_URL for testing
- AuthContext: new/non-entitled sign-ins land on pricing to start the trial
- ProfileMenu: header account dropdown (email, account & billing, sign out)
- MediaInput: "YouTube URL" → "Video URL" + supported-platforms info popover
2026-07-16 02:07:53 +02:00

19 lines
860 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 openshorts.app.
- 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