mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-06 05:48:53 +01:00
one variable DEV_MODE instead of multiple (would become quite a lot)
This commit is contained in:
parent
4290c1616d
commit
426349d0d7
6
dev.env
6
dev.env
@ -1,10 +1,10 @@
|
||||
# fixed environment for an working dev setup
|
||||
|
||||
# enables
|
||||
# - meteor dev server
|
||||
# - accept self signed certificates
|
||||
DEV_MODE=true
|
||||
|
||||
# use meteor dev server for html5
|
||||
DEV_HTML5=true
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -81,7 +81,7 @@ services:
|
||||
ipv4_address: 10.7.7.2
|
||||
|
||||
|
||||
{{ if isTrue .Env.DEV_HTML5 }}
|
||||
{{ if isTrue .Env.DEV_MODE }}
|
||||
html5-dev:
|
||||
build:
|
||||
context: mod/html5
|
||||
@ -190,17 +190,17 @@ services:
|
||||
depends_on:
|
||||
- etherpad
|
||||
- webrtc-sfu
|
||||
{{ if isTrue .Env.DEV_HTML5 }}
|
||||
{{ if isTrue .Env.DEV_MODE }}
|
||||
- html5-dev
|
||||
{{ else }}
|
||||
- html5-backend-1
|
||||
{{ end }}
|
||||
volumes:
|
||||
- bigbluebutton:/var/bigbluebutton
|
||||
- ./data/bigbluebutton:/var/bigbluebutton
|
||||
- html5-static:/html5-static:ro
|
||||
- ${DEFAULT_PRESENTATION:-/dev/null}:/www/default.pdf
|
||||
|
||||
{{ if isTrue .Env.DEV_HTML5 }}
|
||||
{{ if isTrue .Env.DEV_MODE }}
|
||||
# don't let nginx directly serve static files
|
||||
- ./mod/nginx/bbb-html5.dev.nginx:/etc/nginx/bbb/bbb-html5.nginx:ro
|
||||
{{ end }}
|
||||
|
@ -14,11 +14,6 @@ export ENVIRONMENT_TYPE=production
|
||||
export NODE_VERSION=node-v14.21.1-linux-x64
|
||||
export BBB_HTML5_LOCAL_SETTINGS=/app/bbb-html5.yml
|
||||
|
||||
if [ "$DEV_MODE" == true ]; then
|
||||
echo "DEV_MODE=true, disable TLS certificate rejecting"
|
||||
export NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||
fi
|
||||
|
||||
if [ "$BBB_HTML5_ROLE" == "backend" ]; then
|
||||
PARAM=NODEJS_BACKEND_INSTANCE_ID=$INSTANCE_ID
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user