Minor fix entrypoint openvidu-server and openvidu-server-pro docker images
This commit is contained in:
parent
553e63513c
commit
76805ff543
@ -25,9 +25,9 @@ printf "\n"
|
||||
|
||||
# Get coturn public ip
|
||||
[[ -z "${COTURN_IP}" ]] && export COTURN_IP=auto-ipv4
|
||||
if [[ -z "${COTURN_IP}" == "auto-ipv4" ]]; then
|
||||
if [[ "${COTURN_IP}" == "auto-ipv4" ]]; then
|
||||
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh)
|
||||
elif [[ -z "${COTURN_IP}" == "auto-ipv6" ]]; then
|
||||
elif [[ "${COTURN_IP}" == "auto-ipv6" ]]; then
|
||||
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh --ipv6)
|
||||
fi
|
||||
|
||||
|
||||
@ -8,9 +8,9 @@ printf "\n"
|
||||
|
||||
# Get coturn public ip
|
||||
[[ -z "${COTURN_IP}" ]] && export COTURN_IP=auto-ipv4
|
||||
if [[ -z "${COTURN_IP}" == "auto-ipv4" ]]; then
|
||||
if [[ "${COTURN_IP}" == "auto-ipv4" ]]; then
|
||||
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh)
|
||||
elif [[ -z "${COTURN_IP}" == "auto-ipv6" ]]; then
|
||||
elif [[ "${COTURN_IP}" == "auto-ipv6" ]]; then
|
||||
COTURN_IP=$(/usr/local/bin/discover_my_public_ip.sh --ipv6)
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user