mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-02-16 17:51:33 +01:00
add development mode
This commit is contained in:
parent
dee9aa5de1
commit
2deb3a008c
@ -7,6 +7,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
|
DEV_MODE: ${DEV_MODE:-}
|
||||||
DOMAIN: ${DOMAIN}
|
DOMAIN: ${DOMAIN}
|
||||||
SHARED_SECRET: ${SHARED_SECRET}
|
SHARED_SECRET: ${SHARED_SECRET}
|
||||||
WELCOME_MESSAGE: ${WELCOME_MESSAGE:-}
|
WELCOME_MESSAGE: ${WELCOME_MESSAGE:-}
|
||||||
@ -147,6 +148,7 @@ services:
|
|||||||
DISABLE_VIDEO_PREVIEW: ${DISABLE_VIDEO_PREVIEW:-false}
|
DISABLE_VIDEO_PREVIEW: ${DISABLE_VIDEO_PREVIEW:-false}
|
||||||
CHAT_ENABLED: ${CHAT_ENABLED:-true}
|
CHAT_ENABLED: ${CHAT_ENABLED:-true}
|
||||||
CHAT_START_CLOSED: ${CHAT_START_CLOSED:-false}
|
CHAT_START_CLOSED: ${CHAT_START_CLOSED:-false}
|
||||||
|
DEV_MODE: ${DEV_MODE:-}
|
||||||
networks:
|
networks:
|
||||||
bbb-net:
|
bbb-net:
|
||||||
ipv4_address: 10.7.7.11
|
ipv4_address: 10.7.7.11
|
||||||
|
@ -297,7 +297,11 @@ beans.presentationService.testPresentationName=appkonference
|
|||||||
# Uploaded presentation file
|
# Uploaded presentation file
|
||||||
beans.presentationService.testUploadedPresentation=appkonference.txt
|
beans.presentationService.testUploadedPresentation=appkonference.txt
|
||||||
# Default Uploaded presentation file
|
# Default Uploaded presentation file
|
||||||
|
{{ if isTrue .Env.DEV_MODE }}
|
||||||
|
beans.presentationService.defaultUploadedPresentation=https://test.bigbluebutton.org/default.pdf
|
||||||
|
{{else}}
|
||||||
beans.presentationService.defaultUploadedPresentation=${bigbluebutton.web.serverURL}/default.pdf
|
beans.presentationService.defaultUploadedPresentation=${bigbluebutton.web.serverURL}/default.pdf
|
||||||
|
{{end}}
|
||||||
|
|
||||||
presentationBaseURL=${bigbluebutton.web.serverURL}/bigbluebutton/presentation
|
presentationBaseURL=${bigbluebutton.web.serverURL}/bigbluebutton/presentation
|
||||||
|
|
||||||
|
@ -8,6 +8,11 @@ export ENVIRONMENT_TYPE=production
|
|||||||
export PORT=3000
|
export PORT=3000
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
if [ "$DEV_MODE" == true ]; then
|
||||||
|
echo "DEV_MODE=true, disable TLS certificate rejecting"
|
||||||
|
export NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f /app/programs/server/assets/app/config/settings.yml
|
rm -f /app/programs/server/assets/app/config/settings.yml
|
||||||
dockerize \
|
dockerize \
|
||||||
-template /app/programs/server/assets/app/config/settings.yml.tmpl:/app/programs/server/assets/app/config/settings.yml \
|
-template /app/programs/server/assets/app/config/settings.yml.tmpl:/app/programs/server/assets/app/config/settings.yml \
|
||||||
|
Loading…
Reference in New Issue
Block a user