2020-04-10 11:29:44 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-06-06 20:13:28 +02:00
|
|
|
export LANG=en_US.UTF-8
|
2020-04-10 11:29:44 +02:00
|
|
|
|
2020-04-19 18:52:48 +02:00
|
|
|
# generate bbb folders
|
2020-08-15 03:26:33 +02:00
|
|
|
mkdir -p /var/bigbluebutton/events
|
|
|
|
mkdir -p /var/bigbluebutton/captions
|
|
|
|
mkdir -p /var/bigbluebutton/captions/inbox
|
|
|
|
mkdir -p /var/bigbluebutton/basic_stats
|
2020-04-19 18:52:48 +02:00
|
|
|
mkdir -p /var/bigbluebutton/recording/raw
|
|
|
|
mkdir -p /var/bigbluebutton/recording/process
|
|
|
|
mkdir -p /var/bigbluebutton/recording/publish
|
2020-08-15 03:26:33 +02:00
|
|
|
mkdir -p /var/bigbluebutton/recording/publish/presentation
|
|
|
|
mkdir -p /var/bigbluebutton/recording/status
|
2020-04-19 18:52:48 +02:00
|
|
|
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
|
2020-08-15 03:26:33 +02:00
|
|
|
mkdir -p /var/bigbluebutton/published/presentation
|
2020-04-19 18:52:48 +02:00
|
|
|
mkdir -p /var/bigbluebutton/deleted
|
|
|
|
mkdir -p /var/bigbluebutton/unpublished
|
2020-06-12 02:44:26 +02:00
|
|
|
mkdir -p /var/bigbluebutton/playback
|
|
|
|
|
|
|
|
# add playback-presentation to /var/bigbluebutton volume
|
|
|
|
cp -r /usr/src/bbb-src-playback/* /var/bigbluebutton/playback
|
2020-04-19 18:52:48 +02:00
|
|
|
|
2020-05-16 15:54:48 +02:00
|
|
|
# -- fix directory permissions
|
2020-05-17 11:10:51 +02:00
|
|
|
chown -R bigbluebutton:bigbluebutton /var/bigbluebutton
|
2020-04-19 18:52:48 +02:00
|
|
|
|
2020-04-10 11:29:44 +02:00
|
|
|
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 \
|
2020-05-15 23:21:03 +02:00
|
|
|
-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 \
|
2020-05-14 18:59:22 +02:00
|
|
|
/usr/bin/supervisord --nodaemon
|