mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-08-14 06:48:29 +02:00
WIP: reduced install script
This commit is contained in:
369
mod/html5/config.yml
Normal file
369
mod/html5/config.yml
Normal file
@ -0,0 +1,369 @@
|
||||
public:
|
||||
app:
|
||||
mobileFontSize: 16px
|
||||
desktopFontSize: 14px
|
||||
audioChatNotification: false
|
||||
autoJoin: true
|
||||
listenOnlyMode: true
|
||||
forceListenOnly: false
|
||||
skipCheck: false
|
||||
clientTitle: BigBlueButton
|
||||
appName: BigBlueButton HTML5 Client
|
||||
bbbServerVersion: 2.2-dev
|
||||
copyright: "©2019 BigBlueButton Inc."
|
||||
html5ClientBuild: 870
|
||||
helpLink: https://bigbluebutton.org/html5/
|
||||
lockOnJoin: true
|
||||
cdn: ""
|
||||
basename: "/html5client"
|
||||
askForFeedbackOnLogout: false
|
||||
allowUserLookup: false
|
||||
enableNetworkInformation: false
|
||||
enableLimitOfViewersInWebcam: false
|
||||
enableTalkingIndicator: true
|
||||
viewersInWebcam: 8
|
||||
ipv4FallbackDomain: ""
|
||||
allowLogout: true
|
||||
allowFullscreen: true
|
||||
defaultSettings:
|
||||
application:
|
||||
animations: true
|
||||
chatAudioAlerts: false
|
||||
chatPushAlerts: false
|
||||
userJoinAudioAlerts: false
|
||||
userJoinPushAlerts: false
|
||||
fallbackLocale: en
|
||||
overrideLocale: null
|
||||
audio:
|
||||
inputDeviceId: undefined
|
||||
outputDeviceId: undefined
|
||||
dataSaving:
|
||||
viewParticipantsWebcams: true
|
||||
viewScreenshare: true
|
||||
shortcuts:
|
||||
openOptions:
|
||||
accesskey: O
|
||||
descId: openOptions
|
||||
toggleUserList:
|
||||
accesskey: U
|
||||
descId: toggleUserList
|
||||
toggleMute:
|
||||
accesskey: M
|
||||
descId: toggleMute
|
||||
joinAudio:
|
||||
accesskey: J
|
||||
descId: joinAudio
|
||||
leaveAudio:
|
||||
accesskey: L
|
||||
descId: leaveAudio
|
||||
togglePublicChat:
|
||||
accesskey: P
|
||||
descId: togglePublicChat
|
||||
hidePrivateChat:
|
||||
accesskey: H
|
||||
descId: hidePrivateChat
|
||||
closePrivateChat:
|
||||
accesskey: G
|
||||
descId: closePrivateChat
|
||||
openActions:
|
||||
accesskey: A
|
||||
descId: openActions
|
||||
openStatus:
|
||||
accesskey: S
|
||||
descId: openStatus
|
||||
branding:
|
||||
displayBrandingArea: false
|
||||
connectionTimeout: 60000
|
||||
showHelpButton: true
|
||||
effectiveConnection:
|
||||
- critical
|
||||
- danger
|
||||
- warning
|
||||
externalVideoPlayer:
|
||||
enabled: true
|
||||
networkMonitoring:
|
||||
enableNetworkMonitoring: false
|
||||
packetLostThreshold: 10
|
||||
kurento:
|
||||
wsUrl: wss://meet.livingutopia.org/bbb-webrtc-sfu
|
||||
chromeDefaultExtensionKey: akgoaoikmbmhcopjgakkcepdgdgkjfbc
|
||||
chromeDefaultExtensionLink: https://chrome.google.com/webstore/detail/bigbluebutton-screenshare/akgoaoikmbmhcopjgakkcepdgdgkjfbc
|
||||
chromeExtensionKey: KEY
|
||||
chromeExtensionLink: LINK
|
||||
chromeScreenshareSources:
|
||||
- window
|
||||
- screen
|
||||
firefoxScreenshareSource: window
|
||||
cameraProfiles:
|
||||
- id: low
|
||||
name: Low quality
|
||||
default: false
|
||||
bitrate: 100
|
||||
- id: medium
|
||||
name: Medium quality
|
||||
default: true
|
||||
bitrate: 200
|
||||
- id: high
|
||||
name: High quality
|
||||
default: false
|
||||
bitrate: 500
|
||||
- id: hd
|
||||
name: High definition
|
||||
default: false
|
||||
bitrate: 800
|
||||
enableScreensharing: true
|
||||
enableVideo: true
|
||||
enableVideoStats: false
|
||||
enableVideoMenu: true
|
||||
enableListenOnly: true
|
||||
autoShareWebcam: false
|
||||
skipVideoPreview: false
|
||||
pingPong:
|
||||
clearUsersInSeconds: 180
|
||||
pongTimeInSeconds: 15
|
||||
allowOutsideCommands:
|
||||
toggleRecording: false
|
||||
toggleSelfVoice: false
|
||||
poll:
|
||||
enabled: true
|
||||
max_custom: 5
|
||||
captions:
|
||||
enabled: true
|
||||
enableDictation: false
|
||||
backgroundColor: "#000000"
|
||||
fontColor: "#FFFFFF"
|
||||
fontFamily: Calibri
|
||||
fontSize: 24px
|
||||
takeOwnership: true
|
||||
lines: 2
|
||||
time: 5000
|
||||
chat:
|
||||
enabled: true
|
||||
min_message_length: 1
|
||||
max_message_length: 5000
|
||||
grouping_messages_window: 10000
|
||||
type_system: SYSTEM_MESSAGE
|
||||
type_public: PUBLIC_ACCESS
|
||||
type_private: PRIVATE_ACCESS
|
||||
system_userid: SYSTEM_MESSAGE
|
||||
system_username: SYSTEM_MESSAGE
|
||||
public_id: public
|
||||
public_group_id: MAIN-PUBLIC-GROUP-CHAT
|
||||
public_userid: public_chat_userid
|
||||
public_username: public_chat_username
|
||||
storage_key: UNREAD_CHATS
|
||||
system_messages_keys:
|
||||
chat_clear: PUBLIC_CHAT_CLEAR
|
||||
typingIndicator:
|
||||
enabled: true
|
||||
note:
|
||||
enabled: true
|
||||
url: https://meet.livingutopia.org/pad
|
||||
config:
|
||||
showLineNumbers: false
|
||||
showChat: false
|
||||
noColors: false
|
||||
showControls: true
|
||||
rtl: false
|
||||
layout:
|
||||
autoSwapLayout: false
|
||||
hidePresentation: false
|
||||
media:
|
||||
stunTurnServersFetchAddress: "/bigbluebutton/api/stuns"
|
||||
mediaTag: "#remote-media"
|
||||
callTransferTimeout: 5000
|
||||
callHangupTimeout: 2000
|
||||
callHangupMaximumRetries: 10
|
||||
echoTestNumber: '9196'
|
||||
relayOnlyOnReconnect: false
|
||||
presentation:
|
||||
defaultPresentationFile: default.pdf
|
||||
panZoomThrottle: 32
|
||||
uploadEndpoint: "/bigbluebutton/presentation/upload"
|
||||
uploadSizeMin: 0
|
||||
uploadSizeMax: 50000000
|
||||
uploadValidMimeTypes:
|
||||
- extension: .pdf
|
||||
mime: application/pdf
|
||||
- extension: .doc
|
||||
mime: application/msword
|
||||
- extension: .docx
|
||||
mime: application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||
- extension: .xls
|
||||
mime: application/vnd.ms-excel
|
||||
- extension: .xlsx
|
||||
mime: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||
- extension: .ppt
|
||||
mime: application/vnd.ms-powerpoint
|
||||
- extension: .pptx
|
||||
mime: application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||
- extension: .txt
|
||||
mime: text/plain
|
||||
- extension: .rtf
|
||||
mime: application/rtf
|
||||
- extension: .odt
|
||||
mime: application/vnd.oasis.opendocument.text
|
||||
- extension: .ods
|
||||
mime: application/vnd.oasis.opendocument.spreadsheet
|
||||
- extension: .odp
|
||||
mime: application/vnd.oasis.opendocument.presentation
|
||||
- extension: .odg
|
||||
mime: application/vnd.oasis.opendocument.graphics
|
||||
- extension: .odc
|
||||
mime: application/vnd.oasis.opendocument.chart
|
||||
- extension: .odi
|
||||
mime: application/vnd.oasis.opendocument.image
|
||||
- extension: .jpg
|
||||
mime: image/jpeg
|
||||
- extension: .png
|
||||
mime: image/png
|
||||
user:
|
||||
role_moderator: MODERATOR
|
||||
role_viewer: VIEWER
|
||||
whiteboard:
|
||||
annotations:
|
||||
status:
|
||||
start: DRAW_START
|
||||
update: DRAW_UPDATE
|
||||
end: DRAW_END
|
||||
toolbar:
|
||||
multiUserPenOnly: false
|
||||
colors:
|
||||
- label: black
|
||||
value: "#000000"
|
||||
- label: white
|
||||
value: "#ffffff"
|
||||
- label: red
|
||||
value: "#ff0000"
|
||||
- label: orange
|
||||
value: "#ff8800"
|
||||
- label: eletricLime
|
||||
value: "#ccff00"
|
||||
- label: Lime
|
||||
value: "#00ff00"
|
||||
- label: Cyan
|
||||
value: "#00ffff"
|
||||
- label: dodgerBlue
|
||||
value: "#0088ff"
|
||||
- label: blue
|
||||
value: "#0000ff"
|
||||
- label: violet
|
||||
value: "#8800ff"
|
||||
- label: magenta
|
||||
value: "#ff00ff"
|
||||
- label: silver
|
||||
value: "#c0c0c0"
|
||||
thickness:
|
||||
- value: 14
|
||||
- value: 12
|
||||
- value: 10
|
||||
- value: 8
|
||||
- value: 6
|
||||
- value: 4
|
||||
- value: 2
|
||||
- value: 1
|
||||
font_sizes:
|
||||
- value: 36
|
||||
- value: 32
|
||||
- value: 28
|
||||
- value: 24
|
||||
- value: 20
|
||||
- value: 16
|
||||
tools:
|
||||
- icon: text_tool
|
||||
value: text
|
||||
- icon: line_tool
|
||||
value: line
|
||||
- icon: circle_tool
|
||||
value: ellipse
|
||||
- icon: triangle_tool
|
||||
value: triangle
|
||||
- icon: rectangle_tool
|
||||
value: rectangle
|
||||
- icon: pen_tool
|
||||
value: pencil
|
||||
- icon: hand
|
||||
value: hand
|
||||
presenterTools:
|
||||
- text
|
||||
- line
|
||||
- ellipse
|
||||
- triangle
|
||||
- rectangle
|
||||
- pencil
|
||||
- hand
|
||||
multiUserTools:
|
||||
- text
|
||||
- line
|
||||
- ellipse
|
||||
- triangle
|
||||
- rectangle
|
||||
- pencil
|
||||
- hand
|
||||
clientLog:
|
||||
server: {enabled: true, level: info}
|
||||
console: {enabled: true, level: debug}
|
||||
external: {enabled: false, level: info, url: 'https://LOG_HOST/html5Log', method: POST,
|
||||
throttleInterval: 400, flushOnClose: true, logTag: ""}
|
||||
private:
|
||||
app:
|
||||
host: 127.0.0.1
|
||||
port: 3000
|
||||
localesUrl: /locales
|
||||
pencilChunkLength: 100
|
||||
loadSlidesFromHttpAlways: false
|
||||
etherpad:
|
||||
apikey: 9xLdxQJ8XoTUy3q7W4ZgpvKYqX16yqirdESk9i54FVm6PiJ1paRd8JOI1MT4pywm
|
||||
version: 1.2.13
|
||||
host: 127.0.0.1
|
||||
port: 9001
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: '6379'
|
||||
timeout: 5000
|
||||
password: null
|
||||
debug: false
|
||||
channels:
|
||||
toAkkaApps: to-akka-apps-redis-channel
|
||||
toThirdParty: to-third-party-redis-channel
|
||||
subscribeTo:
|
||||
- to-html5-redis-channel
|
||||
- from-akka-apps-*
|
||||
- from-third-party-redis-channel
|
||||
- from-etherpad-redis-channel
|
||||
async:
|
||||
- from-akka-apps-wb-redis-channel
|
||||
ignored:
|
||||
- CheckAlivePongSysMsg
|
||||
- DoLatencyTracerMsg
|
||||
serverLog:
|
||||
level: info
|
||||
streamerLog: false
|
||||
memoryMonitoring:
|
||||
stat:
|
||||
enabled: false
|
||||
leak:
|
||||
enabled: false
|
||||
heapdump:
|
||||
enabled: false
|
||||
minBrowserVersions:
|
||||
- browser: chrome
|
||||
version: 59
|
||||
- browser: chromeMobileIOS
|
||||
version: Infinity
|
||||
- browser: firefox
|
||||
version: 52
|
||||
- browser: firefoxMobile
|
||||
version: 52
|
||||
- browser: edge
|
||||
version: 17
|
||||
- browser: ie
|
||||
version: Infinity
|
||||
- browser: safari
|
||||
version: [11, 1]
|
||||
- browser: mobileSafari
|
||||
version: [11, 1]
|
||||
- browser: opera
|
||||
version: 46
|
||||
- browser: electron
|
||||
version: [0, 36]
|
58
mod/html5/systemd_start.sh
Executable file
58
mod/html5/systemd_start.sh
Executable file
@ -0,0 +1,58 @@
|
||||
#!/bin/bash -e
|
||||
#Allow to run outside of directory
|
||||
cd `dirname $0`
|
||||
|
||||
if [ -w /sys/kernel/mm/transparent_hugepage/enabled ]; then
|
||||
unameEnabled="$(stat --format '%U' /sys/kernel/mm/transparent_hugepage/enabled)"
|
||||
if [ "x${unameEnabled}" != "xnobody" ]; then
|
||||
echo "never" > /sys/kernel/mm/transparent_hugepage/enabled
|
||||
echo "transparent_hugepage/enabled set to 'never'"
|
||||
else
|
||||
echo "transparent_hugepage/enabled could not be set to 'never'"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -w /sys/kernel/mm/transparent_hugepage/defrag ]; then
|
||||
unameDefrag="$(stat --format '%U' /sys/kernel/mm/transparent_hugepage/defrag)"
|
||||
if [ "x${unameDefrag}" != "xnobody" ]; then
|
||||
echo "never" > /sys/kernel/mm/transparent_hugepage/defrag
|
||||
echo "transparent_hugepage/defrag set to 'never'"
|
||||
else
|
||||
echo "transparent_hugepage/defrag could not be set to 'never'"
|
||||
fi
|
||||
fi
|
||||
|
||||
# change to start meteor in production (https) or development (http) mode
|
||||
ENVIRONMENT_TYPE=production
|
||||
|
||||
echo "Starting mongoDB"
|
||||
|
||||
#wait for mongo startup
|
||||
MONGO_OK=0
|
||||
|
||||
while [ "$MONGO_OK" = "0" ]; do
|
||||
MONGO_OK=`netstat -lan | grep 127.0.1.1 | grep 27017 &> /dev/null && echo 1 || echo 0`
|
||||
sleep 1;
|
||||
done;
|
||||
|
||||
echo "Mongo started";
|
||||
|
||||
echo "Initializing replicaset"
|
||||
mongo 127.0.1.1 --eval 'rs.initiate({ _id: "rs0", members: [ {_id: 0, host: "127.0.1.1"} ]})'
|
||||
|
||||
|
||||
echo "Waiting to become a master"
|
||||
IS_MASTER="XX"
|
||||
while [ "$IS_MASTER" \!= "true" ]; do
|
||||
IS_MASTER=`mongo mongodb://127.0.1.1:27017/ --eval 'db.isMaster().ismaster' | tail -n 1`
|
||||
sleep 0.5;
|
||||
done;
|
||||
|
||||
echo "I'm the master!"
|
||||
|
||||
cd /usr/share/meteor/bundle
|
||||
export ROOT_URL=http://127.0.0.1/html5client
|
||||
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
|
||||
export MONGO_URL=mongodb://127.0.1.1/meteor
|
||||
export NODE_ENV=production
|
||||
PORT=3000 /usr/bin/node main.js
|
Reference in New Issue
Block a user