mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-26 01:53:22 +01:00
36 lines
1.5 KiB
Bash
Executable File
36 lines
1.5 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
# generate bbb folders
|
|
mkdir -p /var/bigbluebutton/events
|
|
mkdir -p /var/bigbluebutton/captions
|
|
mkdir -p /var/bigbluebutton/captions/inbox
|
|
mkdir -p /var/bigbluebutton/basic_stats
|
|
mkdir -p /var/bigbluebutton/recording/raw
|
|
mkdir -p /var/bigbluebutton/recording/process
|
|
mkdir -p /var/bigbluebutton/recording/publish
|
|
mkdir -p /var/bigbluebutton/recording/publish/presentation
|
|
mkdir -p /var/bigbluebutton/recording/status
|
|
mkdir -p /var/bigbluebutton/recording/status/recorded
|
|
mkdir -p /var/bigbluebutton/recording/status/archived
|
|
mkdir -p /var/bigbluebutton/recording/status/processed
|
|
mkdir -p /var/bigbluebutton/recording/status/sanity
|
|
mkdir -p /var/bigbluebutton/published
|
|
mkdir -p /var/bigbluebutton/published/presentation
|
|
mkdir -p /var/bigbluebutton/deleted
|
|
mkdir -p /var/bigbluebutton/unpublished
|
|
mkdir -p /var/bigbluebutton/playback
|
|
|
|
# add playback-presentation to /var/bigbluebutton volume
|
|
cp -r /usr/src/bbb-src-playback/* /var/bigbluebutton/playback
|
|
|
|
# -- fix directory permissions
|
|
chown -R bigbluebutton:bigbluebutton /var/bigbluebutton
|
|
|
|
dockerize \
|
|
-template /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties.tmpl:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties \
|
|
-template /usr/share/bbb-apps-akka/conf/application.conf.tmpl:/usr/share/bbb-apps-akka/conf/application.conf \
|
|
-template /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml.tmpl:/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml \
|
|
/usr/bin/supervisord --nodaemon
|