mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-26 08:38:49 +01:00
devmode: fix wrong redirect by greenlight in non-devmode
This commit is contained in:
parent
c27ee44802
commit
02856103d7
@ -12,7 +12,7 @@ services:
|
||||
DB_NAME: greenlight
|
||||
DB_USERNAME: postgres
|
||||
DB_PASSWORD: password
|
||||
BIGBLUEBUTTON_ENDPOINT: http://10.7.7.1:8080/bigbluebutton/api/
|
||||
BIGBLUEBUTTON_ENDPOINT: ${GREENLIGHT_ENDPOINT}
|
||||
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
|
||||
SECRET_KEY_BASE: ${RAILS_SECRET}
|
||||
ports:
|
||||
|
@ -11,8 +11,10 @@ then
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
# concatenate docker-compose file
|
||||
|
Loading…
Reference in New Issue
Block a user