Dockerize the stack; release camera hardware on toggle off - #3
Open
Shinchan493 wants to merge 1 commit into
Open
Dockerize the stack; release camera hardware on toggle off#3Shinchan493 wants to merge 1 commit into
Shinchan493 wants to merge 1 commit into
Conversation
Add full containerization and fix a camera-privacy issue, rebased onto the latest main (the resizable code/whiteboard split already landed upstream, so that local change was dropped in favor of the upstream one). Docker: - server/Dockerfile (multi-stage: build TS -> run compiled dist) - client/Dockerfile + nginx.conf (CRA build served by nginx) - docker-compose.yml (db + server + client, one command) - .dockerignore for both; .env.example templates - db.config: DB_SSL=false disables SSL for the local plaintext Postgres container while managed hosts (Render/Neon) keep SSL by default Camera privacy: - toggling the camera off now STOPS the video track (releases the hardware/indicator light) and removes it from peers, instead of only disabling frames; turning it on re-acquires and re-shares the track. Sessions also join with the camera fully released, not just muted. Windows dev + tooling: - cross-env + ts-node/register so `npm run serve` works on Windows - .gitignore: keep .env.example, ignore node_modules/coverage/logs - README: Docker Compose quickstart + Docker deployment notes Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add full containerization and fix a camera-privacy issue, rebased onto the latest main (the resizable code/whiteboard split already landed upstream, so that local change was dropped in favor of the upstream one).
Docker:
Camera privacy:
Windows dev + tooling:
npm run serveworks on Windows