Add RESOLVER_ADDRESS env variable for HTTPS_PROXY container.

closes https://github.com/bigbluebutton/docker/issues/276
This commit is contained in:
Philipp Kolmann 2023-06-02 09:52:19 +02:00
parent 3c1e5c7bee
commit 3ae8ebc906
3 changed files with 6 additions and 0 deletions

View File

@ -401,6 +401,9 @@ services:
{{else}} {{else}}
ALLOWED_DOMAINS: ${DOMAIN} ALLOWED_DOMAINS: ${DOMAIN}
{{end}} {{end}}
{{ if .Env.RESOLVER_ADDRESS }}
RESOLVER_ADDRESS: ${RESOLVER_ADDRESS}
{{end}}
network_mode: host network_mode: host
{{end}} {{end}}

View File

@ -6,6 +6,8 @@
# HTTPS Proxy # HTTPS Proxy
# fully automated Lets Encrypt certificates # fully automated Lets Encrypt certificates
ENABLE_HTTPS_PROXY=true ENABLE_HTTPS_PROXY=true
# If your network doesn't allow access to DNS at 8.8.8.8 specify your own resolvers
#RESOLVER_ADDRESS=x.x.x.x
# coturn (a TURN Server) # coturn (a TURN Server)
# requires either the abhove HTTPS Proxy to be enabled # requires either the abhove HTTPS Proxy to be enabled

View File

@ -61,6 +61,7 @@ docker run \
-e REMOVE_OLD_RECORDING=${REMOVE_OLD_RECORDING:-false} \ -e REMOVE_OLD_RECORDING=${REMOVE_OLD_RECORDING:-false} \
-e RECORDING_MAX_AGE_DAYS=${RECORDING_MAX_AGE_DAYS:-14} \ -e RECORDING_MAX_AGE_DAYS=${RECORDING_MAX_AGE_DAYS:-14} \
-e ENABLE_HTTPS_PROXY=${ENABLE_HTTPS_PROXY:-false} \ -e ENABLE_HTTPS_PROXY=${ENABLE_HTTPS_PROXY:-false} \
-e RESOLVER_ADDRESS=${RESOLVER_ADDRESS} \
-e ENABLE_WEBHOOKS=${ENABLE_WEBHOOKS:-false} \ -e ENABLE_WEBHOOKS=${ENABLE_WEBHOOKS:-false} \
-e ENABLE_COTURN=${ENABLE_COTURN:-false} \ -e ENABLE_COTURN=${ENABLE_COTURN:-false} \
-e ENABLE_GREENLIGHT=${ENABLE_GREENLIGHT:-false} \ -e ENABLE_GREENLIGHT=${ENABLE_GREENLIGHT:-false} \