Docker hub repository: edumeet/edumeet
This is the container, or a "dockerized" version of the eduMeet. (Successor of multiparty meeting fork of mediasoup-demo)
- Git clone this code to your docker machine.
- Copy your cert in
certs/cert.pem
andcerts/privkey.pem
- In case you need to generate a new cert and private key, you can use (note -nodes flag, which allows to generate unencrypted private key)
$ openssl req -x509 -newkey rsa:4096 -keyout privkey.pem -out cert.pem -days 365 -nodes
- Recomended: set TURN server and credential in
configs/server/config.js
- In case you are using coturn, you can generate a user and key with
$ turnadmin -k -u <username> -p <password>
Placeholder looks like
turnServers : [
{
urls : [
'turn:example.com:443?transport=tcp'
],
username : 'example',
credential : 'example'
}
]
You would need to replace example.com by your IP or domain, add the username previously used <username>
and credential is the code generated by the above mentioned command.
- Optional: Change other stuff in config:
- Optional: replace logo/logo.svg with your company logo svg.
- Optional: sort audio/video codecs according to preference.
Run with docker-compose
/ install docker compose /
$ sudo docker-compose up --detach
If you change .env then you have to rebuild the image.
$ sudo docker-compose up --build --detach
Container works in "host" network mode, because birdge mode has the following issue
[Docker - Docker hangs when attempting to bind a large number of ports] (https://success.docker.com/article/docker-compose-and-docker-run-hang-when-binding-a-large-port-range)
Read more about configs and settings in eduMeet README.