bigbluebutton-Github/bbb-lti/docker-entrypoint.sh
Felipe Cecagno 58761e1a74 Improvements on bbb-lti (#6277)
* Fix listing multiple playbacks
* Fix localization
* Consider X-Forwarded-Proto header to determine which endpoint to use
* Allow custom context different than /lti
* Add pt_BR strings
2019-02-04 12:49:30 -05:00

14 lines
660 B
Bash
Executable File

#!/bin/bash -xe
export JAVA_OPTS="$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -DbigbluebuttonSalt=$BIGBLUEBUTTON_SHARED_SECRET -DbigbluebuttonURL=$BIGBLUEBUTTON_URL -DltiEndPoint=$LTI_ENDPOINT -DltiConsumers=$LTI_CONSUMERS -DltiAllRecordedByDefault=$RECORDED_BY_DEFAULT -DltiCanvasPlacements=$LTI_CANVAS_PLACEMENTS -DltiCanvasPlacementName=$LTI_CANVAS_PLACEMENT_NAME"
sed -i "s|^securerandom\.source=.*|securerandom.source=file:/dev/./urandom|g" $JAVA_HOME/lib/security/java.security
if [ -f webapps/lti.war ]; then
mkdir -p webapps/$LTI_CONTEXT_PATH
unzip -q webapps/lti.war -d webapps/$LTI_CONTEXT_PATH
rm webapps/lti.war
fi
catalina.sh run