I tested deburau/galene:latest and hit two issues that we should handle in the official Docker image:
-
TURN needs network_mode: host - with bridge networking, all clients appear as 172.18.0.x to the TURN server, so relay fails. Host mode fixes it but is not ideal.
-
TURN auto can't detect the public IP from inside a container. We had to pass it explicitly via env var.
When we build the official image, do you think host networking is the right approach, or is there a better way to handle TURN inside Docker?
I tested deburau/galene:latest and hit two issues that we should handle in the official Docker image:
TURN needs
network_mode: host- with bridge networking, all clients appear as 172.18.0.x to the TURN server, so relay fails. Host mode fixes it but is not ideal.TURN
autocan't detect the public IP from inside a container. We had to pass it explicitly via env var.When we build the official image, do you think host networking is the right approach, or is there a better way to handle TURN inside Docker?