Compare commits
No commits in common. "main" and "v2.5.11" have entirely different histories.
@ -1,31 +0,0 @@
|
||||
ARG BBB_BUILD_TAG=v2022-03-30
|
||||
FROM onenetcom/docker-bbb-build:$BBB_BUILD_TAG AS builder
|
||||
|
||||
ARG TAG_HTML5=v2.5.11
|
||||
|
||||
COPY . /source
|
||||
|
||||
RUN cd /source \
|
||||
&& meteor npm ci --production \
|
||||
&& METEOR_DISABLE_OPTIMISTIC_CACHING=1 meteor build --architecture os.linux.x86_64 --allow-superuser --directory /app
|
||||
|
||||
RUN cd /app/bundle/programs/server \
|
||||
&& npm install --production
|
||||
|
||||
RUN sed -i "s/VERSION/$TAG_HTML5/" /app/bundle/programs/web.browser/head.html \
|
||||
&& find /app/bundle/programs/web.browser -name '*.js' -exec gzip -k -f -9 '{}' \; \
|
||||
&& find /app/bundle/programs/web.browser -name '*.css' -exec gzip -k -f -9 '{}' \; \
|
||||
&& find /app/bundle/programs/web.browser -name '*.wasm' -exec gzip -k -f -9 '{}' \;
|
||||
|
||||
FROM node:14.19.1-alpine
|
||||
|
||||
RUN addgroup -g 2000 meteor && \
|
||||
adduser -D -u 2001 -G meteor meteor && \
|
||||
apk add su-exec
|
||||
COPY --from=alangecker/bbb-docker-base-java /usr/local/bin/dockerize /usr/local/bin/dockerize
|
||||
COPY --from=builder --chown=meteor:meteor /app/bundle /app
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY bbb-html5.yml /app/bbb-html5.yml.tmpl
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
@ -1,6 +0,0 @@
|
||||
# onenetcom/bbb-html5
|
||||
|
||||
```
|
||||
docker build -t onenetcom/bbb-html5 .
|
||||
|
||||
```
|
@ -1,24 +0,0 @@
|
||||
public:
|
||||
app:
|
||||
bbbServerVersion: {{ .Env.TAG_HTML5 }}-docker
|
||||
listenOnlyMode: {{ .Env.LISTEN_ONLY_MODE }}
|
||||
skipCheck: {{ .Env.DISABLE_ECHO_TEST }}
|
||||
clientTitle: {{ .Env.CLIENT_TITLE }}
|
||||
appName: BigBlueButton HTML5 Client (docker)
|
||||
breakouts:
|
||||
breakoutRoomLimit: {{ .Env.BREAKOUTROOM_LIMIT }}
|
||||
kurento:
|
||||
wsUrl: wss://{{ .Env.DOMAIN }}/bbb-webrtc-sfu
|
||||
autoShareWebcam: {{ .Env.AUTO_SHARE_WEBCAM }}
|
||||
skipVideoPreview: {{ .Env.DISABLE_VIDEO_PREVIEW }}
|
||||
chat:
|
||||
enabled: {{ .Env.CHAT_ENABLED }}
|
||||
startClosed: {{ .Env.CHAT_START_CLOSED }}
|
||||
pads:
|
||||
url: https://{{ .Env.DOMAIN }}/pad
|
||||
private:
|
||||
app:
|
||||
host: 0.0.0.0
|
||||
redis:
|
||||
host: redis
|
||||
port: '6379'
|
@ -1,43 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
cd /app
|
||||
export MONGO_OPLOG_URL=mongodb://10.7.7.6/local
|
||||
export MONGO_URL=mongodb://10.7.7.6/meteor
|
||||
export ROOT_URL=http://127.0.0.1/html5client
|
||||
export NODE_ENV=production
|
||||
export SERVER_WEBSOCKET_COMPRESSION='{"level":5, "maxWindowBits":13, "memLevel":7, "requestMaxWindowBits":13}'
|
||||
export BIND_IP=0.0.0.0
|
||||
export LANG=en_US.UTF-8
|
||||
export INSTANCE_MAX=1
|
||||
export ENVIRONMENT_TYPE=production
|
||||
export NODE_VERSION=node-v14.19.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
|
||||
|
||||
|
||||
# if container is the first frontend, do some additional tasks
|
||||
if [ "$BBB_HTML5_ROLE" == "frontend" ] && [ "$INSTANCE_ID" == "1" ]; then
|
||||
|
||||
|
||||
# copy static files into volume for direct access by nginx
|
||||
# https://github.com/bigbluebutton/bigbluebutton/issues/10739
|
||||
if [ -d "/html5-static" ]; then
|
||||
rm -rf /html5-static/*
|
||||
cp -r /app/programs/web.browser/* /html5-static
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
dockerize \
|
||||
-template /app/bbb-html5.yml.tmpl:/app/bbb-html5.yml \
|
||||
su-exec meteor \
|
||||
node --max-old-space-size=2048 --max_semi_space_size=128 main.js $PARAM
|
@ -1,7 +1,4 @@
|
||||
{
|
||||
"app.poll.responseChoices.label" : "选择项",
|
||||
"app.poll.enableMultipleResponseLabel": "允许多选?",
|
||||
|
||||
"app.home.greeting": "您的演示即将开始 ...",
|
||||
"app.chat.submitLabel": "发送消息",
|
||||
"app.chat.loading": "实时讨论信息加载进度:{0}%",
|
||||
@ -348,15 +345,15 @@
|
||||
"app.talkingIndicator.isTalking" : "{0} 正在说话...",
|
||||
"app.talkingIndicator.wasTalking" : "{0} 沉默了",
|
||||
"app.actionsBar.actionsDropdown.actionsLabel": "操作",
|
||||
"app.actionsBar.actionsDropdown.initPollLabel": "发起互动",
|
||||
"app.actionsBar.actionsDropdown.initPollLabel": "发起投票",
|
||||
"app.actionsBar.actionsDropdown.desktopShareLabel": "分享您的桌面",
|
||||
"app.actionsBar.actionsDropdown.lockedDesktopShareLabel": "屏幕分享已锁定",
|
||||
"app.actionsBar.actionsDropdown.stopDesktopShareLabel": "停止分享您的桌面",
|
||||
"app.actionsBar.actionsDropdown.presentationDesc": "上传您的演示文件",
|
||||
"app.actionsBar.actionsDropdown.initPollDesc": "发起互动",
|
||||
"app.actionsBar.actionsDropdown.initPollDesc": "发起投票",
|
||||
"app.actionsBar.actionsDropdown.desktopShareDesc": "和参会者分享您的桌面操作演示",
|
||||
"app.actionsBar.actionsDropdown.stopDesktopShareDesc": "停止分享您的桌面演示给",
|
||||
"app.actionsBar.actionsDropdown.pollBtnLabel": "发起互动",
|
||||
"app.actionsBar.actionsDropdown.pollBtnLabel": "发起投票",
|
||||
"app.actionsBar.actionsDropdown.pollBtnDesc": "打开投票面板",
|
||||
"app.actionsBar.actionsDropdown.saveUserNames": "保存用户名",
|
||||
"app.actionsBar.actionsDropdown.createBreakoutRoom": "创建分组讨论会议室",
|
||||
@ -555,29 +552,6 @@
|
||||
"app.connection-status.title": "连接状态",
|
||||
"app.connection-status.description": "查看用户的连接状态",
|
||||
"app.connection-status.more": "更多",
|
||||
"app.connection-status.empty": "当前没有报告的连接问题",
|
||||
"app.connection-status.copy": "复制",
|
||||
"app.connection-status.copied": "Copied!",
|
||||
"app.connection-status.jitter": "Jitter",
|
||||
"app.connection-status.label": "连接状态",
|
||||
"app.connection-status.settings": "调整设置",
|
||||
"app.connection-status.no": "No",
|
||||
"app.connection-status.notification": "Loss in your connection was detected",
|
||||
"app.connection-status.offline": "离线",
|
||||
"app.connection-status.audioUploadRate": "Audio Upload Rate",
|
||||
"app.connection-status.audioDownloadRate": "Audio Download Rate",
|
||||
"app.connection-status.videoUploadRate": "视频上传速率",
|
||||
"app.connection-status.videoDownloadRate": "视频下载速率",
|
||||
"app.connection-status.lostPackets": "丢包",
|
||||
"app.connection-status.usingTurn": "Using TURN",
|
||||
"app.connection-status.yes": "Yes",
|
||||
"app.connection-status.connectionStats": "连接状态",
|
||||
"app.connection-status.myLogs": "我的日志",
|
||||
"app.connection-status.sessionLogs": "会话日志",
|
||||
"app.connection-status.next": "下一页",
|
||||
"app.connection-status.prev": "上一页",
|
||||
|
||||
|
||||
"app.recording.startTitle": "开始录制",
|
||||
"app.recording.stopTitle": "暂停录制",
|
||||
"app.recording.resumeTitle": "恢复录制",
|
||||
@ -775,33 +749,7 @@
|
||||
"app.learningDashboard.usersTable.userStatusOffline": "离线",
|
||||
"app.learningDashboard.usersTable.noUsers": "还没有用户",
|
||||
"app.learningDashboard.pollsTable.anonymousRowName": "匿名",
|
||||
"app.learningDashboard.errors.dataUnavailable": "数据已不可用",
|
||||
"app.guest-policy.ariaTitle": "来宾策略设置模式",
|
||||
"app.guest-policy.title": "访客策略",
|
||||
"app.guest-policy.description": "修改会议访客设定",
|
||||
"app.guest-policy.button.askModerator": "询问主持人",
|
||||
"app.guest-policy.button.alwaysAccept": "总是接受",
|
||||
"app.guest-policy.button.alwaysDeny": "总是拒绝",
|
||||
"app.guest-policy.policyBtnDesc": "设置会议访客策略",
|
||||
|
||||
"app.presentation.options.fullscreen": "全屏演示",
|
||||
"app.presentation.options.exitFullscreen": "退出全屏幕",
|
||||
"app.presentation.options.minimize": "最小化",
|
||||
"app.presentation.options.snapshot": "截屏",
|
||||
"app.presentation.options.downloading": "正在下载...",
|
||||
"app.presentation.options.downloaded": "当前演示文稿已下载",
|
||||
"app.presentation.options.downloadFailed": "无法下载当前演示文稿",
|
||||
|
||||
|
||||
"app.videoDock.webcamPinLabel": "Pin码",
|
||||
"app.videoDock.webcamPinDesc": "Pin the selected webcam",
|
||||
"app.videoDock.webcamFullscreenLabel": "摄像头全屏",
|
||||
"app.videoDock.webcamSqueezedButtonLabel": "摄像头选项",
|
||||
"app.videoDock.webcamUnpinLabel": "取消固定",
|
||||
"app.videoDock.webcamUnpinLabelDisabled": "只有版主可以取消固定用户",
|
||||
"app.videoDock.webcamUnpinDesc": "取消固定选定的网络摄像头"
|
||||
|
||||
|
||||
"app.learningDashboard.errors.dataUnavailable": "数据已不可用"
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user