diff --git a/docker-compose.tmpl.yml b/docker-compose.tmpl.yml index b5dc450..f7f0a5f 100644 --- a/docker-compose.tmpl.yml +++ b/docker-compose.tmpl.yml @@ -207,16 +207,9 @@ services: kurento: image: kurento/kurento-media-server:6.17 restart: unless-stopped - environment: - KMS_STUN_IP: ${STUN_IP} - KMS_STUN_PORT: ${STUN_PORT} - KMS_MIN_PORT: 24577 - KMS_MAX_PORT: 32768 - KMS_TURN_URL: - GST_DEBUG: 3,Kurento*:4,kms*:4,KurentoWebSocketTransport:5 network_mode: host - tmpfs: - - /var/kurento + volumes: + - vol-kurento:/var/kurento webrtc-sfu: build: @@ -334,6 +327,7 @@ services: - bigbluebutton:/var/bigbluebutton - vol-freeswitch:/var/freeswitch/meetings - vol-mediasoup:/var/mediasoup + - vol-kurento:/var/kurento tmpfs: - /var/log/bigbluebutton - /tmp @@ -461,6 +455,7 @@ services: volumes: bigbluebutton: vol-freeswitch: + vol-kurento: vol-mediasoup: html5-static: {{ if isTrue .Env.ENABLE_HTTPS_PROXY }} diff --git a/mod/freeswitch/conf/autoload_configs/acl.conf.xml b/mod/freeswitch/conf/autoload_configs/acl.conf.xml index 41b2095..78628d8 100644 --- a/mod/freeswitch/conf/autoload_configs/acl.conf.xml +++ b/mod/freeswitch/conf/autoload_configs/acl.conf.xml @@ -23,6 +23,7 @@ + diff --git a/mod/recordings/Dockerfile b/mod/recordings/Dockerfile index 0dd0c34..ad401b3 100644 --- a/mod/recordings/Dockerfile +++ b/mod/recordings/Dockerfile @@ -46,6 +46,10 @@ RUN wget -q https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VE && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz +# add yq for bbb-record +RUN wget -q https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64 -O /usr/bin/yq \ + && chmod +x /usr/bin/yq + RUN mkdir -p \ /usr/local/bigbluebutton \ /usr/local/bigbluebutton/core \ diff --git a/mod/recordings/supervisord.conf b/mod/recordings/supervisord.conf index aa71b41..4780d47 100644 --- a/mod/recordings/supervisord.conf +++ b/mod/recordings/supervisord.conf @@ -4,7 +4,7 @@ user=root [program:rasque_workers] command=rake resque:workers directory=/usr/local/bigbluebutton/core/scripts -environment=QUEUE="rap:archive,rap:publish,rap:process,rap:sanity,rap:captions,rap:events",COUNT="1",VVERBOSE="1" +environment=QUEUE="rap:archive,rap:publish,rap:process,rap:sanity,rap:captions,rap:events",COUNT="1",VVERBOSE="1",HOME="/home/bigbluebutton" user=bigbluebutton stdout_logfile=/dev/fd/1 stdout_logfile_maxbytes=0 @@ -15,6 +15,7 @@ stderr_logfile_maxbytes=0 [program:rap_starter] command=bundle exec ruby /usr/local/bigbluebutton/core/scripts/rap-starter.rb directory=/usr/local/bigbluebutton/core/scripts +environment=HOME="/home/bigbluebutton" user=bigbluebutton stdout_logfile=/dev/fd/1 stdout_logfile_maxbytes=0 @@ -25,6 +26,7 @@ stderr_logfile_maxbytes=0 [program:rap_caption_inbox] command=bundle exec ruby /usr/local/bigbluebutton/core/scripts/rap-caption-inbox.rb directory=/usr/local/bigbluebutton/core/scripts +environment=HOME="/home/bigbluebutton" user=bigbluebutton stdout_logfile=/dev/fd/1 stdout_logfile_maxbytes=0