forked from extern/docker
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_NAME: greenlight
|
||||||
DB_USERNAME: postgres
|
DB_USERNAME: postgres
|
||||||
DB_PASSWORD: password
|
DB_PASSWORD: password
|
||||||
BIGBLUEBUTTON_ENDPOINT: http://10.7.7.1:8080/bigbluebutton/api/
|
BIGBLUEBUTTON_ENDPOINT: ${GREENLIGHT_ENDPOINT}
|
||||||
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
|
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
|
||||||
SECRET_KEY_BASE: ${RAILS_SECRET}
|
SECRET_KEY_BASE: ${RAILS_SECRET}
|
||||||
ports:
|
ports:
|
||||||
|
@ -11,8 +11,10 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
export CERTIFICATE_DOMAINS=$DOMAIN
|
export CERTIFICATE_DOMAINS=$DOMAIN
|
||||||
|
export GREENLIGHT_ENDPOINT=https://$DOMAIN/bigbluebutton/api/
|
||||||
if [ "$DEV_MODE" == true ]; then
|
if [ "$DEV_MODE" == true ]; then
|
||||||
export CERTIFICATE_DOMAINS="invalid"
|
export CERTIFICATE_DOMAINS="invalid"
|
||||||
|
export GREENLIGHT_ENDPOINT=http://10.7.7.1:8080/bigbluebutton/api/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# concatenate docker-compose file
|
# concatenate docker-compose file
|
||||||
|
Loading…
Reference in New Issue
Block a user