diff --git a/docker-compose.greenlight.yml b/docker-compose.greenlight.yml index 3c03908..0ca79fa 100644 --- a/docker-compose.greenlight.yml +++ b/docker-compose.greenlight.yml @@ -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: diff --git a/scripts/compose b/scripts/compose index f8421e9..ce47189 100755 --- a/scripts/compose +++ b/scripts/compose @@ -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