Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit 56dcb06

Browse files
author
Jos Poortvliet
authored
Merge pull request #187 from devz3r0/patch-2
Update page-webrtc.php
2 parents dfb1fcc + 7e87b53 commit 56dcb06

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

page-webrtc.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,11 @@
9898

9999
<h4>Docker</h4>
100100
<p>There is a Docker image. It requires that you first create the server.conf, taking the template as can be found on <a href="https://hub.docker.com/r/spreed/webrtc/" target="_blank">the Docker hub page</a> and modify it following the directions in the third section below. You then have to put it in a place where the Docker image can reach it, in the example below we picked <code>/srv/extra/server.conf</code> for that.</p>
101-
<p><pre><code>docker run --rm --name my-spreed-webrtc -p 8080:8080 -p 8443:8443 -v `pwd`:/srv/extra -i -t spreed/webrtc -c /srv/extra/server.conf</code></pre></p>
102-
<p>Once it is running, the server will listen on "localhost:8080". Now we just need to configure Apache to serve Spreed WebRTC from there.</p>
101+
<p><pre><code>docker run --rm --name my-spreed-webrtc -p 127.0.0.1:8080:8080 -p 127.0.0.1:8443:8443 -v /srv/extra:/srv/extra -v path-to-your-nextcloud/apps/spreedme/extra:path-to-your-nextcloud/apps/spreedme/extra -i -t spreed/webrtc -c /srv/extra/server.conf</code></pre></p>
102+
<p>Once it is running, the server will listen on "localhost:8080". You have to change the following in the server.conf of the spreed.me server: section:<code> [http] </code> entry: <code> listen = 0.0.0.0:8080. </code></p>
103+
<p>If you are running it in a virtual machine, you may not have enough entropy in /dev/random and the server stick at the keygeneration. To get around this, execute <code>rngd -f -r /dev/urandom</code> in another terminal session.</p>
104+
<p>To run the container in the background, start the container with: <code> run -t -d --name my-spreed-webrtc -p 127.0.0.1:8080:8080 -p 127.0.0.1:8443:8443 -v /srv/extra:/srv/extra -v path-to-your-nextcloud/apps/spreedme/extra:path-to-your-nextcloud/apps/spreedme/extra -i -t spreed/webrtc -c /srv/extra/server.conf</code>
105+
<p>Now we just need to configure Apache to serve Spreed WebRTC from there.</p>
103106

104107
<h4>Packages</h4>
105108
<p>There are packages for Ubuntu, see <a href="https://github.com/strukturag/spreed-webrtc/wiki/Ubuntu-Repository" target="_blank">instructions here</a></p>

0 commit comments

Comments
 (0)