cruizba 80be205267 Refactor entrypoint_openvidu.sh; pro: set container IP as private IP.
In pro local deployment, by using `LIVEKIT_OPENVIDU_NODE_PRIVATE_IP`, the
private IP of the container will be announced as a candidate, allowing
Egress and Ingress traffic to flow through their respective containers,
to openvidu server.
2024-07-10 11:57:48 +02:00

9 lines
122 B
Bash

#!/bin/sh
set -e
if [ "$LAN_PRIVATE_IP" != "none" ]; then
export NODE_IP="$LAN_PRIVATE_IP"
fi
./livekit-server "$@"