docs: describe Coturn live-view integration (#391)
Heimdall Gitea / Detect CI scope (pull_request) Successful in 9s
Heimdall Gitea / Build and tests (pull_request) Successful in 21m52s
Heimdall Gitea / Build and scan server image (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Skipped
Heimdall Gitea / Publish versioned installer release (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Successful in 3s

This commit is contained in:
arnaud.dartois committed 2026-11-13 11:26:01 +01:00
1 parent bf13b70a53
commit 7ba05ecf1f
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
# Optional TURN relay, used only by a future/externally integrated WebRTC setup.
# Optional TURN relay for live view; Central uses its URL and shared secret to
# issue short-lived browser credentials. Public reachability needs deployment
# firewall/NAT validation.
services:
coturn:
image: coturn/coturn:4.6
+1
View File
@@ -16,6 +16,7 @@ The Linux and Windows server installers save service secrets in `<install-root>/
## coturn
- Coturn is an optional live-view relay consumed by Central through `LiveMedia:Turn:Urls` and `LiveMedia:Turn:SharedSecret`. Central returns short-lived TURN REST credentials to the browser; the shared secret stays server-side. Keep this service optional and do not describe its integration as future or external-only.
- Keep `coturn_secret` sourced from `./optional/secrets/coturn_secret`.
- coturn 4.6 does not support `--static-auth-secret-file`; read the mounted Docker secret in a short root initializer and write its configuration into private tmpfs. Do not print the value or pass it in the server process arguments.
- Local Compose secrets are owner-only bind mounts too. Start the initializer as root, make the temporary config readable by the image's `nobody` account, then `exec` `turnserver` as `nobody` with `no-new-privileges` enabled. Keep the root init transient; do not run the TURN daemon as root.