Commit Graph
2 Commits
Author SHA1 Message Date
Moepchi 234213d33e Move port publishing out of the base compose file into a local override
Committing a fixed port mapping doesn't work across hosts (this one already
had 8080 taken), so ports now belong in a gitignored docker-compose.override.yml.
2026-07-29 20:20:05 +02:00
Moepchi c48534dbc4 Add Docker deployment and fix crash in insecure (non-HTTPS) contexts
Adds a multi-stage Dockerfile (Rust connector + gateway + web build) and
docker-compose.yml for running the whole stack as a single container behind
a reverse proxy; the gateway now serves the built web app and the WebSocket
endpoint (/ws) from one port, and the frontend derives its gateway URL from
window.location in production instead of a hardcoded localhost address.

Also guards all navigator.mediaDevices usage against being undefined, which
happens when the page is loaded over plain HTTP on a non-localhost address
(not a secure context) - previously this crashed the whole React app on
mount instead of just disabling the affected voice features.
2026-07-29 18:45:23 +02:00