mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-08-09 04:54:32 +02:00
ipv6: disable IPv6 if no IP is set
This commit is contained in:
@ -22,12 +22,18 @@ if [ -z "$EXTERNAL_IPv4" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set conditional variables
|
||||
export CERTIFICATE_DOMAINS=$DOMAIN
|
||||
export GREENLIGHT_ENDPOINT=https://$DOMAIN/bigbluebutton/api/
|
||||
if [ "$DEV_MODE" == true ]; then
|
||||
export CERTIFICATE_DOMAINS="invalid"
|
||||
export GREENLIGHT_ENDPOINT=http://10.7.7.1:8080/bigbluebutton/api/
|
||||
fi
|
||||
if [ ! -z "$EXTERNAL_IPv6" ]; then
|
||||
export HTTPS_SITE_FILE="site.conf"
|
||||
else
|
||||
export HTTPS_SITE_FILE="site-ipv4only.conf"
|
||||
fi
|
||||
|
||||
# concatenate docker-compose file
|
||||
COMPOSE_FILES="-f docker-compose.yml"
|
||||
|
Reference in New Issue
Block a user