mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-22 13:39:00 +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
|
# fixed environment for an working dev setup
|
||||||
|
|
||||||
|
# enables
|
||||||
|
# - meteor dev server
|
||||||
|
# - accept self signed certificates
|
||||||
DEV_MODE=true
|
DEV_MODE=true
|
||||||
|
|
||||||
# use meteor dev server for html5
|
|
||||||
DEV_HTML5=true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ services:
|
|||||||
ipv4_address: 10.7.7.2
|
ipv4_address: 10.7.7.2
|
||||||
|
|
||||||
|
|
||||||
{{ if isTrue .Env.DEV_HTML5 }}
|
{{ if isTrue .Env.DEV_MODE }}
|
||||||
html5-dev:
|
html5-dev:
|
||||||
build:
|
build:
|
||||||
context: mod/html5
|
context: mod/html5
|
||||||
@ -190,17 +190,17 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- etherpad
|
- etherpad
|
||||||
- webrtc-sfu
|
- webrtc-sfu
|
||||||
{{ if isTrue .Env.DEV_HTML5 }}
|
{{ if isTrue .Env.DEV_MODE }}
|
||||||
- html5-dev
|
- html5-dev
|
||||||
{{ else }}
|
{{ else }}
|
||||||
- html5-backend-1
|
- html5-backend-1
|
||||||
{{ end }}
|
{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- bigbluebutton:/var/bigbluebutton
|
- ./data/bigbluebutton:/var/bigbluebutton
|
||||||
- html5-static:/html5-static:ro
|
- html5-static:/html5-static:ro
|
||||||
- ${DEFAULT_PRESENTATION:-/dev/null}:/www/default.pdf
|
- ${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
|
# don't let nginx directly serve static files
|
||||||
- ./mod/nginx/bbb-html5.dev.nginx:/etc/nginx/bbb/bbb-html5.nginx:ro
|
- ./mod/nginx/bbb-html5.dev.nginx:/etc/nginx/bbb/bbb-html5.nginx:ro
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -14,11 +14,6 @@ export ENVIRONMENT_TYPE=production
|
|||||||
export NODE_VERSION=node-v14.21.1-linux-x64
|
export NODE_VERSION=node-v14.21.1-linux-x64
|
||||||
export BBB_HTML5_LOCAL_SETTINGS=/app/bbb-html5.yml
|
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
|
if [ "$BBB_HTML5_ROLE" == "backend" ]; then
|
||||||
PARAM=NODEJS_BACKEND_INSTANCE_ID=$INSTANCE_ID
|
PARAM=NODEJS_BACKEND_INSTANCE_ID=$INSTANCE_ID
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user