add note on turn container host mode
This commit is contained in:
+3
-1
@@ -923,7 +923,9 @@ async function startTurn(existingInfra) {
|
||||
const readOnly = !serviceConfig.recoveryMode ? '--read-only' : '';
|
||||
const cmd = serviceConfig.recoveryMode ? '/bin/bash -c \'echo "Debug mode. Sleeping" && sleep infinity\'' : '';
|
||||
|
||||
// this exports 3478/tcp, 5349/tls and 50000-51000/udp. note that this runs on the host network!
|
||||
// this exports 3478/tcp, 5349/tls and 50000-51000/udp. note that this runs on the host network because docker's userland proxy
|
||||
// is spun for every port. we can disable this in some future release with --userland-proxy=false
|
||||
// https://github.com/moby/moby/issues/8356 and https://github.com/moby/moby/issues/14856
|
||||
const runCmd = `docker run --restart=always -d --name="turn" \
|
||||
--hostname turn \
|
||||
--net host \
|
||||
|
||||
Reference in New Issue
Block a user