archivos de configuracion, scripts y assets customizados de greenlight, scalelite y bigbluebutton
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

scalelite-setup.sh 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #!/bin/sh
  2. STORAGE_KEY = "KEYHERE"
  3. STORAGE_SECRET = "SECRETHERE"
  4. STORAGE_NAME = "NAMEHERE"
  5. ########################### ADD STORAGE ####################################
  6. apt-get install -y s3fs
  7. echo "$STORAGE_KEY:$STORAGE_SECRET" > /root/.passwd-s3fs
  8. chown 600 /root/.passwd-s3fs
  9. mkdir -p /mnt/storage01
  10. # Creating FSTAB backup
  11. cp /etc/fstab /etc/fstab.bak
  12. # Adding Storate to FSTAB
  13. echo "s3fs#$STORAGE_NAME /mnt/storage01 fuse allow_other,use_path_request_style,passwd_file=/root/.passwd-s3fs,_netdev,nosuid,uid=1000,gid=1000,nodev,url=https://nyc3.digitaloceanspaces.com 0 0" >> /etc/fstab
  14. mount -a
  15. ########################### SHARED VOLUME ####################################
  16. # Create the spool directory for recording transfer from BigBlueButton
  17. ln -s /mnt/storage01/spool /mnt/scalelite-recordings/var/bigbluebutton
  18. chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/spool
  19. chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/spool
  20. # Create the temporary (working) directory for recording import
  21. mkdir -p /mnt/scalelite-recordings/var/bigbluebutton/recording/scalelite
  22. chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/recording/scalelite
  23. chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/recording/scalelite
  24. # Create the directory for published recordings
  25. mkdir -p /mnt/scalelite-recordings/var/bigbluebutton/published
  26. chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/published
  27. chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/published
  28. # Create the directory for unpublished recordings
  29. mkdir -p /mnt/scalelite-recordings/var/bigbluebutton/unpublished
  30. chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/unpublished
  31. chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/unpublished
  32. ########################### REPO CLONING ####################################
  33. git clone http://git.bluekitsune.com/bluekitsune-public/scalelite-run.git
  34. cd scalelite-run
  35. docker-compose up -d