# 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