Skip to content

feat: Docker image, SFU_TLS and a fixed UDP port range - #16

Merged
FrekiManagarm merged 1 commit into
mainfrom
feat/docker
Oct 29, 2026
Merged

FrekiManagarm merged 1 commit into
mainfrom
feat/docker

Conversation

@FrekiManagarm

@FrekiManagarm FrekiManagarm commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • SFU_UDP_PORT_MIN / SFU_UDP_PORT_MAX: media sockets bind the first free port of the range (one per peer), so the SFU can be published from a container. Unset keeps ephemeral ports.
  • SFU_TLS=false: plain HTTP behind a reverse proxy that terminates TLS. Default unchanged (true).
  • Dockerfile (36 MB image, non-root, TLS off and range 40000-40099 by default).
  • Release workflow pushes ghcr.io/lumyx-dev/sfu-core:X.Y.Z on tags (amd64 for now).

Used by lumyx-dev/self-hosted.

Test plan

  • cargo fmt --check, cargo clippy -D warnings, cargo test
  • scripts/browser-check.ts 3 through Docker + Caddy + the UDP range: each peer sees the 2 others with decoded video

SFU_UDP_PORT_MIN/MAX bind media sockets in a publishable range; SFU_TLS=false serves plain HTTP behind a reverse proxy. The Release workflow pushes ghcr.io/lumyx-dev/sfu-core on tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@FrekiManagarm
FrekiManagarm merged commit f611854 into main Oct 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant